Created
December 14, 2016 17:57
-
-
Save n1k0/3c563010a03ca08a5e4cdb63bd1ab9a5 to your computer and use it in GitHub Desktop.
Default Elm app
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 (..) | |
main : Program Never Model Msg | |
main = | |
Html.program | |
{ init = createModel | |
, view = view | |
, update = update | |
, subscriptions = (always Sub.none) | |
} | |
type alias Model = | |
{} | |
type Msg | |
= NoOp | |
createModel : ( Model, Cmd Msg ) | |
createModel = | |
( {}, Cmd.none ) | |
update : Msg -> Model -> ( Model, Cmd Msg ) | |
update msg model = | |
( model, Cmd.none ) | |
view : Model -> Html Msg | |
view model = | |
h1 [] [ text "There you go!" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment