Module
Halogen.Hooks.Internal.Eval.Types
- Package
- purescript-halogen-hooks
- Repository
- thomashoneyman/purescript-halogen-hooks
#toHalogenM Source
toHalogenM :: forall q i ps o m b a. SlotToken ps -> OutputToken o -> HalogenM' q i m b a -> HalogenM (HookState q i m b) (HookM m Unit) ps o m a
#InternalHookState Source
type InternalHookState :: (Type -> Type) -> Type -> (Type -> Type) -> Type -> Type
type InternalHookState q i m a = { componentRef :: ComponentRef, effectCells :: QueueState ((Maybe MemoValues) /\ (HookM m Unit)), evalQueue :: Array (HalogenM (HookState q i m a) (HookM m Unit) SlotType OutputValue m Unit), input :: i, memoCells :: QueueState (MemoValues /\ MemoValue), queryFn :: Maybe (QueryFn q m), refCells :: QueueState (Ref RefValue), stateCells :: QueueState StateValue, stateDirty :: Boolean }
#QueueState Source
type QueueState a = { index :: Int, queue :: Array a }