Module

Grain.Internal.Util

#Step

type Step r = { done :: Boolean | r }

#nonNull

nonNull :: forall a. Nullable a -> a

#byIdx

byIdx :: forall a. Fn2 (Array a) Int a

#byIdxNullable

byIdxNullable :: forall a. Fn2 (Array a) Int (Nullable a)

#keyNullable

#mapNullable

mapNullable :: forall a b. Fn2 (a -> b) (Nullable a) (Nullable b)

#eqNullable

eqNullable :: forall a. Fn2 (Nullable a) (Nullable a) Boolean

#shouldAttribute

#head

#unsafeParentNode

#setAny

#mkEventListener

#forE

#foreachE

foreachE :: forall a b. EffectFn2 (Array a) (EffectFn1 a b) Unit

#sequenceE

sequenceE :: forall a. EffectFn1 (Array (Effect a)) Unit

#tailRecE

tailRecE :: forall r. EffectFn2 (EffectFn1 (Step r) (Step r)) (Step r) (Step r)

Modules