Copyright | (c) Aaron Friel |
---|---|
License | BSD-3 |
Maintainer | Aaron Friel <mayreply@aaronfriel.com> |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
class (GFunctor f, GPointed f) => GApplicative f where Source #
gap :: Inv f i j => f i (a -> b) -> f j a -> f (Apply f i j) b Source #
gthen :: Inv f i j => f i a -> f j b -> f (Then f i j) b Source #
gthen :: (Apply f (Fconst f i) j ~ Then f i j, Inv f (Fconst f i) j) => f i a -> f j b -> f (Then f i j) b Source #
gbut :: Inv f i j => f i a -> f j b -> f (But f i j) a Source #
gbut :: (Apply f (Apply f (Pure f) i) j ~ But f i j, Inv f (Pure f) i, Inv f (Apply f (Pure f) i) j) => f i a -> f j b -> f (But f i j) a Source #
Applicative f => GApplicative * (GWrapped f) Source # | |