Talk:Elm (programming language): Difference between revisions

Content deleted Content added
Limitations: it needs to make clear this part.
Line 16:
[] -> []
</source>
 
:: I agree.
:: Elm is new to me, but I know about programming languages. What they mean is that Elsm has not what is also known as generic types.
:: That may be true if Elm has no class declarations like that of Haskell, because map can not be overloaded with specialized versions for several types (mapTree, mapList, mapT1, mapT2, etc.)
:: On the other side, it seems that Elm has classes but the article may be based in an incomplete version of the language, but planned by its author by 2015 as said in the limitations section.
:: I also suspect that it will have some provision for class declarations, because it is mentioned that it has a <code>Maybe a</code> type. (The Maybe monad?)
:: I am writing this comment by the end of 2021, that should be upgraded. As I said, Elm is new to me, I may fix it later when I am not too busy to learn Elm, which seem a to be good language.
:: Anyway if some Elm programmer can fix it, please do it.
--[[Special:Contributions/132.231.65.203|132.231.65.203]] ([[User talk:132.231.65.203|talk]]) 17:03, 14 July 2015 (UTC)
 
:The section is not wrong. Your implementation is specific to List. Higher-kinded types cannot be expressed in Elm (see: https://github.com/elm/compiler/issues/396).
 
:[[Special:Contributions/85.212.193.55|85.212.193.55]] ([[User talk:85.212.193.55|talk]]) 00:05, 30 December 2020 (UTC)
 
==Example code section unnecessary==