Created
November 6, 2016 14:43
-
-
Save michaeljones/95ace30f63d8c8a43992a61e8007c885 to your computer and use it in GitHub Desktop.
Initial Elm project
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
port module Main exposing (..) | |
import Html exposing (..) | |
import Html.App | |
import Html.Events | |
import Html.Attributes | |
main = | |
Html.App.programWithFlags | |
{ init = init | |
, update = update | |
, view = view | |
, subscriptions = subscriptions | |
} | |
type alias Model = | |
{} | |
type alias Flags = | |
{} | |
init : Flags -> ( Model, Cmd Msg ) | |
init flags = | |
( {}, Cmd.none ) | |
subscriptions : Model -> Sub Msg | |
subscriptions model = | |
Sub.none | |
type Msg | |
= None | |
update msg model = | |
( model, Cmd.none ) | |
view : Model -> Html.Html Msg | |
view model = | |
div [] [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment