module Minimum exposing (Flags, Model, Msg(..), init, main, subscriptions, update, view)

import Browser
import Html exposing (Html, text)


main =
    Browser.element
        { init = init
        , view = view
        , update = update
        , subscriptions = subscriptions
        }


type alias Model =
    String


type alias Flags =
    {}


type Msg
    = Msg


init : Flags -> ( Model, Cmd Msg )
init flags =
    ( "init", Cmd.none )


view : Model -> Html Msg
view model =
    text model


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


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