Jump to content

Talk:Elm (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by LichWizard (talk | contribs) at 03:19, 7 April 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing: CompSci 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.
Taskforce icon
This article is supported by WikiProject Computer science.
Things you can help WikiProject Computer science with:

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]

Example code section unnecessary

I believe the example code area is unnecessary, as that type of thing is not the purpose of Wikipedia. I'm making a comment here before removing it to see what others think. --LichWizard (talk) 03:19, 7 April 2018 (UTC)[reply]