Created
July 23, 2016 07:08
-
-
Save zummenix/48343fb005ea766a6b8b52d487fe2bb5 to your computer and use it in GitHub Desktop.
Main.elm template
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
import Html.App | |
import Html exposing (div, Html) | |
main : Program Never | |
main = Html.App.program { init = init, view = view, update = update, subscriptions = subscriptions } | |
type alias Model = Int | |
type Msg = None | |
init : (Model, Cmd Msg) | |
init = | |
(0, Cmd.none) | |
view : Model -> Html Msg | |
view model = | |
div [] [] | |
update : Msg -> Model -> (Model, Cmd Msg) | |
update msg model = | |
(model, Cmd.none) | |
subscriptions : Model -> Sub Msg | |
subscriptions model = | |
Sub.none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment