Module

Pha.Internal

Package
purescript-pha
Repository
gbagan/purescript-pha

#Document Source

type Document msg = { body :: VDom msg, title :: String }

#app Source

app :: forall msg state. (Effect state -> (state -> Effect Unit) -> { dispatch :: msg -> Effect Unit, dispatchEvent :: Event -> (EventHandler msg) -> Effect Unit, init :: Effect Unit, node :: String, state :: state, subscriptions :: state -> Array (Sub msg), view :: state -> Document msg }) -> Effect Unit