Elm - producing a list of random number changing with time
问题 I am trying to make a column of random numbers changing every second, but I get different error messages: import Random main = flow down [ asText (Random.range 0 100 (every second)) , asText (Random.range 0 100 (every second)) ] gives a parse error. What is wrong with my square bracket [ ? Parse error at (line 5, column 1): unexpected '[' expecting newline, spaces or end of input Indent Maybe? Once I indent, the example does compile but I just get <signal> instead of the actual number main =