evancz / elm-todomvc

The TodoMVC app written in Elm, nice example for beginners.
http://evancz.github.io/elm-todomvc/
BSD 3-Clause "New" or "Revised" License
1.22k stars 329 forks source link

Explain ! #51

Closed ghost closed 8 months ago

ghost commented 8 years ago

This file was the first time I saw !, and people, myself included, asked on Slack about ! from seeing this file.

willisplummer commented 8 years ago

thanks for opening this pr! was just looking for this info 👍

voltidev commented 8 years ago

"http://klaftertief.github.io/elm-search/?q=!"

ghost commented 8 years ago

Or search for ! in core on package.elm-lang.org. Both give us

screenshot 2016-09-22 14 13 24

It helps to know that (!) is non-infix notation (prefix?), and that the second Cmd msg is the List of Cmd msgs as one.

ghost commented 8 years ago

I've just made this pull request, to help anyone who gets to that page. https://github.com/elm-lang/core/pull/719