Module

Grain.Internal.Util

Package
purescript-grain
Repository
purescript-grain/purescript-grain

#Step Source

type Step :: Row Type -> Typetype Step r = { done :: Boolean | r }

#nonNull Source

nonNull :: forall a. Nullable a -> a

#byIdx Source

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

#byIdxNullable Source

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

#keyNullable Source

#mapNullable Source

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

#eqNullable Source

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

#shouldAttribute Source

#setAny Source

#forE Source

#foreachE Source

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

#sequenceE Source

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

#tailRecE Source

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