|
| Org.Org.Semantic.HBase.Category.Functor |
|
|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class HasReturn f where |
|
|
| class Functor f => FunctorApply f where |
| | Methods | | fapply :: f (a -> b) -> f a -> f b | must satisfy fapply id = id
first arg (:: f (a -> b)) executed first | | | fpassto :: f a -> f (a -> b) -> f b | | first arg (:: f a) executed first | | | fseq :: f a -> f b -> f b | | first arg (:: f a) executed first |
| | | Instances | |
|
|
| (>>) :: FunctorApply f => f a -> f b -> f b |
| same as fseq |
|
| liftF1 :: Functor f => (a -> r) -> f a -> f r |
| same as fmap |
|
| liftF2 :: FunctorApply f => (a -> b -> r) -> f a -> f b -> f r |
|
| liftF3 :: FunctorApply f => (a -> b -> c -> r) -> f a -> f b -> f c -> f r |
|
| liftF4 :: FunctorApply f => (a -> b -> c -> d -> r) -> f a -> f b -> f c -> f d -> f r |
|
| fproduct :: FunctorApply f => f a -> f b -> f (a, b) |
|
| class (FunctorApply f, HasReturn f) => FunctorApplyReturn f |
| must satisfy fmap = fapply . return | | | Instances | |
|
|
| forDo :: FunctorApplyReturn f => (a -> f b) -> [a] -> f () |
|
| foreachDo :: FunctorApplyReturn f => [a] -> (a -> f b) -> f () |
|
| class Cofunctor f where |
| | Methods | | cofmap :: (a -> b) -> f b -> f a |
| | | Instances | |
|
|
| class Functor2 f where |
| | Methods | | fmap2 :: (a -> b) -> f a p -> f b p |
| | | Instances | |
|
|
| class Cofunctor2 f where |
| | Methods | | cofmap2 :: (a -> b) -> f b p -> f a p |
| | | Instances | |
|
|
| class HasCoreturn f where |
|
|
| Produced by Haddock version 0.6 |