mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-01 21:40:24 +00:00
19 lines
442 B
Plaintext
19 lines
442 B
Plaintext
|
# To install:
|
||
|
# Go to http://elm-lang.org/install
|
||
|
# and download the appropriate installer for your system.
|
||
|
# To create a project:
|
||
|
# mkdir hello
|
||
|
# cd hello
|
||
|
# elm package install elm-lang/html
|
||
|
# after that create Hello.elm in this directory
|
||
|
# To start:
|
||
|
# elm reactor
|
||
|
# Read more here:
|
||
|
# https://www.elm-tutorial.org/en/01-foundations/01-hello.html
|
||
|
module Hello exposing (..)
|
||
|
|
||
|
import Html exposing (text)
|
||
|
|
||
|
main =
|
||
|
text "Hello"
|