Community
Modules 26

Data.Bifunctor.Apply

provisional

Biappliable bifunctors

class Bifunctor (p :: Type -> Type -> Type)

bimap :: (a -> b) -> (c -> d) -> p a c -> p b d

first :: (a -> b) -> p a c -> p b c

second :: (b -> c) -> p a b -> p a c

class Bifunctor p => Biapply p

(<<.>>) :: p (a -> b) (c -> d) -> p a c -> p b d

(.>>) :: p a b -> p c d -> p c d

a '.>' b ≡ 'const' 'id' '<$>' a '<.>' b

(<<.) :: p a b -> p c d -> p a b

a '<.' b ≡ 'const' '<$>' a '<.>' b

(<<..>>) :: Biapply p => p a c -> p (a -> b) (c -> d) -> p b d

bilift2 :: Biapply w => (a -> b -> c) -> (d -> e -> f) -> w a d -> w b e -> w c f

Lift binary functions

bilift3 :: Biapply w => (a -> b -> c -> d) -> (e -> f -> g -> h) -> w a e -> w b f -> w c g -> w d h

Lift ternary functions

Maintainer
Edward Kmett <ekmett@gmail.com>
Portability
portable
Copyright
(C) 2011-2015 Edward Kmett
License
BSD-style (see the file LICENSE)
Build record and source files

Community contribution. The service has not verified this documentation.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-858b1951-web-1

Metadata snapshot: 4ac4693dc44e2bb370a93502d1bf29784374032a00ad7b3d02803e3d433c0b16

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.