1
Fork 0
solar-conflux/purescript/compose/src/Compose.purs

10 lines
223 B
Plaintext
Raw Normal View History

2023-06-04 15:18:40 +02:00
module Compose where
import Prelude hiding (bind, discard)
bind :: forall a b c. (a -> b) -> (b -> c) -> (a -> c)
bind = (>>>)
discard :: forall a b c. (a -> b) -> (Unit -> b -> c) -> (a -> c)
discard f g = f >>> g unit