All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elm.Main.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
module Main exposing (..)

import Json.Decode as Decode
import Html exposing (Html, button, div, text)
import Html.Events exposing (onClick)
import Http


main : Program Never Model Msg
main =
    Html.program
        { init = init
        , view = view
        , update = update
        , subscriptions = subscriptions
        }

type alias Model =
    { status : Maybe Int
    }

init : (Model, Cmd Msg)
init =
    ( Model Nothing, Cmd.none )

type Msg
    = NoOp

update : Msg -> Model -> (Model, Cmd Msg)
update msg model =
    case msg of
        NoOp ->
            ( model, Cmd.none )


view : Model -> Html Msg
view model =
    Html.text "main"


subscriptions : Model -> Sub Msg
subscriptions model =
    Sub.none




© 2015 - 2024 Weber Informatics LLC | Privacy Policy