Module
Control.Selective.Free
- Package
- purescript-selective-functors
- Repository
- artemisSystem/purescript-selective-functors
#runFreeA Source
runFreeA :: forall @g @f. Applicative g => (f ~> g) -> ((FreeS f) ~> g)
Run a free computation in an applicative via SelectA
#runFreeTS Source
runFreeTS :: forall @g @f. Traversable g => Applicative g => (f ~> g) -> ((FreeS f) ~> g)
Run a free computation in a traversable via SelectTS
#runFreeTM Source
runFreeTM :: forall @g @f. Traversable g => Applicative g => (f ~> g) -> ((FreeS f) ~> g)
Run a free computation in a traversable via SelectTM
#effectsOver Source
effectsOver :: forall @f @a. Functor f => FreeS f a -> Array (f Unit)
Collect every possible effect into an Array
.
#effectsUnder Source
effectsUnder :: forall @f @a. Functor f => FreeS f a -> Array (f Unit)
Collect every required effect into an Array
.
#countUnder Source
countUnder :: forall @f @a. FreeS f a -> Int
Count how many required effects there are.
- Modules
- Control.
Select - Control.
Selective - Control.
Selective. ComposeI - Control.
Selective. ComposeTM - Control.
Selective. ComposeTS - Control.
Selective. Free - Control.
Selective. Over - Control.
Selective. SelectA - Control.
Selective. SelectM - Control.
Selective. SelectTM - Control.
Selective. SelectTS - Control.
Selective. Under - Control.
Selective. Validation