Category:Elm: Difference between revisions
m
fixed typo
(As of version 0.16, fields can no longer be added or deleted from records, so I've removed the word "extensible" (source: http://elm-lang.org/blog/compilers-as-assistants#simplified-records)) |
m (fixed typo) |
||
(One intermediate revision by one other user not shown) | |||
Line 8:
}}
'''Elm''' is a programming language for
In order to run web applications, Elm compiles to Javascript, HTML, and CSS. The Functional
Elm's syntax closely resembles that of Haskell while influenced by OCaml, FSharp, and Javascript. Unlike Haskell, Elm's "has type" operator is written with a single colon and borrows the application operators (<|) and (|>) from FSharp. From Javascript, Elm borrows the idea of JSON-like objects which it turns into records. These are type-safe objects whose fields are accessible with a (.) operator. This means that records in Elm have the flexibility of Javascript objects minus their unpredictable dynamism.
{{language programming paradigm|Functional}}
|