Module
Control.Biapply
- Package
- bifunctors
- Repository
- purescript/purescript-bifunctors
#(<<$>>) Source
Operator alias for Control.Category.identity (left-associative / precedence 4)
A convenience operator which can be used to apply the result of bipure
in
the style of Applicative
:
bipure f g <<$>> x <<*>> y
#Biapply Source
class Biapply :: (Type -> Type -> Type) -> Constraint
class (Bifunctor w) <= Biapply w where
Biapply
captures type constructors of two arguments which support lifting of
functions of one or more arguments, in the sense of Apply
.
Members
biapply :: forall a b c d. w (a -> b) (c -> d) -> w a c -> w b d
Instances
#biapplyFirst Source
biapplyFirst :: forall w a b c d. Biapply w => w a b -> w c d -> w c d
Keep the results of the second computation.
#biapplySecond Source
biapplySecond :: forall w a b c d. Biapply w => w a b -> w c d -> w a b
Keep the results of the first computation.