Last active
November 24, 2018 21:31
-
-
Save epequeno/5eb61e1c6067df7cf2fa1ce77e04ddfa to your computer and use it in GitHub Desktop.
boilerplate simple hello world elm app for Elm 0.19.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Elm 0.19.0 | |
import Browser | |
import Html exposing (..) | |
main = | |
Browser.sandbox { init = init, view = view, update = update } | |
type alias Model = | |
String | |
init = | |
"hello, world!" | |
type Msg | |
= NoOp | |
update msg model = | |
case msg of | |
NoOp -> | |
model | |
view model = | |
div [] [ text model ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment