CacheSim/src/Main.elm

26 lines
532 B
Elm
Raw Normal View History

2019-05-27 14:08:48 -07:00
import CacheSim.Model exposing (..)
import Browser exposing (Document, document)
import Html exposing (text)
init : Flags -> (Model, Cmd Msg)
init f = ((), Cmd.none)
view : Model -> Document Msg
view m =
{ title = "Cache Simulator"
, body = [ text "Hello, world!" ]
}
update : Msg -> Model -> (Model, Cmd Msg)
update msg m = (m, Cmd.none)
subscriptions : Model -> Sub Msg
subscriptions m = Sub.none
main = document
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}