Created
December 27, 2022 19:22
-
-
Save pachun/71fa34f4190b52834a5311ad282dcdcf to your computer and use it in GitHub Desktop.
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 (main) | |
import Browser | |
import Html exposing (..) | |
type alias Model = | |
{} | |
type Msg | |
= NoOp | |
init : ( Model, Cmd Msg ) | |
init = | |
( {}, Cmd.none ) | |
update : Msg -> Model -> ( Model, Cmd Msg ) | |
update msg model = | |
case msg of | |
NoOp -> | |
( model, Cmd.none ) | |
view : Model -> Html Msg | |
view _ = | |
text "hello" | |
main : Program () Model Msg | |
main = | |
Browser.element | |
{ init = \_ -> init | |
, update = update | |
, view = view | |
, subscriptions = \_ -> Sub.none | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment