Talk:Elm (programming language)

This is an old revision of this page, as edited by Jarble (talk | contribs) at 02:20, 23 December 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 10 years ago by 132.231.65.203 in topic Limitations
WikiProject iconComputing Stub‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.

Template:Findsourcesnotice

This article is mainly based on primary sources. I've copied its content to a wikibook, just in case someone wants to delete or trim down the article at any time. Diego (talk) 10:19, 22 February 2014 (UTC)Reply

Limitations

The section about limitations is wrong. Elm does support higher-order functions. Therefore functions such as fold and map do exist. Compare http://package.elm-lang.org/packages/elm-lang/core/2.1.0/List or the following piece of valid code:

map : (a -> b) -> List a -> List b
map f xs = case xs of
                  (y::ys) -> (f y) :: (map f ys)
                  [] -> []

--132.231.65.203 (talk) 17:03, 14 July 2015 (UTC)Reply