Safe Haskell | None |
---|---|
Language | GHC2021 |
TypedGUI
Documentation
type family RecRenderOutVal (t :: ps) Source #
type RenderSt cs ds = forall (t :: cs). Sing t -> ds -> Chan (AnyMsg cs) -> Window -> UI cs t (Maybe (Element, IO (RecRenderOutVal t))) Source #
data InternalStRef cs ds Source #
Constructors
InternalStRef | |
newInternalStRef :: forall cs (t :: cs) ds. Sing t -> ds -> IO (InternalStRef cs ds) Source #
runHandler :: SEq cs => InternalStRef cs ds -> Result cs (UnexpectMsg cs) (StateT ds IO) a -> IO (Result cs (UnexpectMsg cs) (StateT ds IO) a) Source #