Talk:Elm (programming language): Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2:
 
This article is mainly based on primary sources. I've copied its content to [https://en.wikibooks.org/wiki/Elm_programming_language a wikibook], just in case someone wants to delete or trim down the article at any time. [[User:Diego Moya|Diego]] ([[User talk:Diego Moya|talk]]) 10:19, 22 February 2014 (UTC)
 
== 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:
 
<source lang="haskell">
map : (a -> b) -> List a -> List b
map f xs = case xs of
(y::ys) -> (f y) :: (map f ys)
[] -> []
</source>
--[[Special:Contributions/132.231.65.203|132.231.65.203]] ([[User talk:132.231.65.203|talk]]) 17:03, 14 July 2015 (UTC)