Content deleted Content added
→Record polymorphism: added |
→Record polymorphism: added |
||
Line 52:
The predefined functions are in the ''Prelude'' module.<ref>[http://elm-lang.org/docs/Prelude.elm Elm's Prelude]</ref>
== Examples ==
* [[UNIX]] installation with haskell's cabal-dev
<source lang="bash">
mkdir elm-compiler && cd elm-compiler
cabal-dev install elm
export PATH=$PWD/cabal-dev/bin:$PATH
</source>
=== Record polymorphism ===
Line 86 ⟶ 94:
<head><meta charset="UTF-8">
<title>MyModule</title>
<script type="text/javascript" src="
<script type="text/javascript" src="MyModule.js"></script>
</head>
|