hs-functors-0.1.4.0: Functors from products of Haskell and its dual to Haskell
Data.Fix
newtype Fix f Source #
Constructors
Fields
Defined in Data.Fix
Methods
(==) :: Fix f -> Fix f -> Bool #
(/=) :: Fix f -> Fix f -> Bool #
compare :: Fix f -> Fix f -> Ordering #
(<) :: Fix f -> Fix f -> Bool #
(<=) :: Fix f -> Fix f -> Bool #
(>) :: Fix f -> Fix f -> Bool #
(>=) :: Fix f -> Fix f -> Bool #
max :: Fix f -> Fix f -> Fix f #
min :: Fix f -> Fix f -> Fix f #
readsPrec :: Int -> ReadS (Fix f) #
readList :: ReadS [Fix f] #
readPrec :: ReadPrec (Fix f) #
readListPrec :: ReadPrec [Fix f] #
showsPrec :: Int -> Fix f -> ShowS #
show :: Fix f -> String #
showList :: [Fix f] -> ShowS #
mapFix :: Functor f => (forall a. f a -> g a) -> Fix f -> Fix g Source #
cata :: Functor f => (f a -> a) -> Fix f -> a Source #
cataM :: (Traversable f, Monad m) => (f a -> m a) -> Fix f -> m a Source #
cataW :: (Cotraversable f, Comonad ɯ) => (ɯ (f a) -> a) -> ɯ (Fix f) -> a Source #
ana :: Functor f => (a -> f a) -> a -> Fix f Source #
anaM :: (Traversable f, Monad m) => (a -> m (f a)) -> a -> m (Fix f) Source #
anaW :: (Cotraversable f, Comonad ɯ) => (ɯ a -> f a) -> ɯ a -> Fix f Source #