Module

Freedom

Package
purescript-freedom
Repository
purescript-freedom/purescript-freedom

#Config Source

type Config f state = { initialState :: state, selector :: String, subscriptions :: Array (Subscription f state), transformF :: Query state -> TransformF f state, view :: state -> VNode f state }

The type of config

#run Source

run :: forall state f. Functor (f state) => Config f state -> Effect Unit

Launch app