Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
module Data.Functor.Bind where
import Data.Functor.Apply
class Apply f => Bind f where
(=<<) ::
(a -> f b)
-> f a
-> f b
instance Bind ((->) t) where
f =<< g =
\x -> f (g x) x