I am following the tutorial of http://www.elm-tutorial.org/020_signals/introduction.html elm.
When I tried to execute the Signals example. I got the following error.
Exception :
Cannot find variable `Signal.map`.
12| Signal.map view Mouse.x
^^^^^^^^^^
The qualifier `Signal` is not in scope.
I am using Elm : 0.17 and core 4.0.0
I could not find Signal module in the core package
Yes, Signal was removed along with a number of other things (Mailboxes, Addresses, etc.) in favor of a move towards subscriptions (Sub
) and commands (Cmd
), rendering much of the documentation out there obsolete. See the 0.17 announcement for more information: http://elm-lang.org/blog/farewell-to-frp
You can find the upgrade plan here: https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With