> a = [3,2,1]
[3,2,1] : List number
> b = 4 :: a
[4,3,2,1] : List number
> a = [1]
[1] : List number
> b
[4,1] : List number
I would expect b to stay unchanged ( [4,3,2,1] ) when a changes.
Also I would like to suggest a little warning message that reassigning the same variable is possible in the REPL (as a convenience) but is not supported in an Elm application.
elm-repl 0.17.1
I would expect
b
to stay unchanged ([4,3,2,1]
) whena
changes.Also I would like to suggest a little warning message that reassigning the same variable is possible in the REPL (as a convenience) but is not supported in an Elm application.