Module
QualifiedDo.Semigroupoid
- Package
- purescript-qualified-do
- Repository
- artemisSystem/purescript-qualified-do
Compose do
block entries in a Semigroupoid
. Example:
import QualifiedDo.Semigroupoid as Compose
-- Equivalent to: a >>> b >>> c
Compose.do
a
b
c
#bind Source
bind :: forall k a b c. Semigroupoid k => k a b -> (k a b -> k b c) -> k a c
#discard Source
discard :: forall k a b c. Semigroupoid k => k a b -> (Unit -> k b c) -> k a c