Module

Halogen.Hooks.Internal.Eval

Package
purescript-halogen-hooks
Repository
thomashoneyman/purescript-halogen-hooks

#mkEval Source

mkEval :: forall h q i m b a. (i -> i -> Boolean) -> (HalogenM' q i m b b -> (HookM m) ~> (HalogenM' q i m b)) -> (InterpretHookReason -> (i -> Hooked m Unit h b) -> HalogenM' q i m b b) -> (i -> Hooked m Unit h b) -> HalogenQ q (HookM m Unit) i a -> HalogenM' q i m b a

#interpretHook Source

interpretHook :: forall hooks q i m a. (HalogenM' q i m a a -> (HookM m) ~> (HalogenM' q i m a)) -> (InterpretHookReason -> HalogenM' q i m a a) -> InterpretHookReason -> (i -> Hooked m Unit hooks a) -> (UseHookF m) ~> (Free (HalogenF (HookState q i m a) (HookM m Unit) SlotType OutputValue m))

#evalHookM Source

evalHookM :: forall q i m a. HalogenM' q i m a a -> (HookM m) ~> (HalogenM' q i m a)

#unsafeGetCell Source

unsafeGetCell :: forall a. Int -> Array a -> a

#unsafeSetCell Source

unsafeSetCell :: forall a. Int -> a -> Array a -> Array a

#getState Source

getState :: forall q i m a. Free (HalogenF (HookState q i m a) (HookM m Unit) SlotType OutputValue m) (InternalHookState q i m a)

#modifyState_ Source

modifyState_ :: forall q i m a. (InternalHookState q i m a -> InternalHookState q i m a) -> Free (HalogenF (HookState q i m a) (HookM m Unit) SlotType OutputValue m) Unit