Eeek
2017-07-21 05:39:37 UTC
I am beginner in Elm, and going through elm-tutorial.org. I have problem in
understanding the declaration of main function in
https://www.elm-tutorial.org/en/02-elm-arch/02-structure.html. It says
main : Program Never Model Msg
What does it represent? I read under functions tutorial that, arguments
are separated with ->. If there are no arguments then I would expect only
one return. This don't belong to any of it. What is this way of declaring
the function types?
understanding the declaration of main function in
https://www.elm-tutorial.org/en/02-elm-arch/02-structure.html. It says
main : Program Never Model Msg
What does it represent? I read under functions tutorial that, arguments
are separated with ->. If there are no arguments then I would expect only
one return. This don't belong to any of it. What is this way of declaring
the function types?
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.