Elm (programming language): Difference between revisions

Content deleted Content 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="/home/your-account/elminstall-directory/cabal-dev/share/Elm-0.8.0.3/elm-runtime.js"></script>
<script type="text/javascript" src="MyModule.js"></script>
</head>