Last active
August 29, 2017 23:57
-
-
Save nqthqn/87c4b8335eed0755d982e4a8865f0c75 to your computer and use it in GitHub Desktop.
beginnerProgram boilerplate
This file contains 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
module Main exposing (..) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
type alias Model = Int | |
type Msg = NoOp | |
update : Msg -> Model -> Model | |
update msg model = | |
1 | |
view : Model -> Html Msg | |
view model = | |
text "boilerplate!" | |
main : Program Never Model Msg | |
main = | |
beginnerProgram | |
{ update = update | |
, view = view | |
, model = 1 | |
} |
Author
nqthqn
commented
Aug 29, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment