Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Type class instances that use direct recursion in a potentially partial
way. This is separated from the rest of Fold
because you can
neither control nor qualify the import of instances. Therefore this module
is extra dangerous, as having these instances available applies to the
entire module they’re imported into.
This contains instances that you might expect to see, but which aren’t
actually total. For example, folding a lazy list [a]
is not guaranteed
to terminate.
Documentation
seqFreeT :: (Functor f, Functor h) => DistributiveLaw (->) h f -> DistributiveLaw (->) (Free h) f Source #
Orphan instances
Functor f => Corecursive (->) (Mu f :: Type) (f :: Type -> Type) Source # | |
Functor f => Corecursive (->) (Fix f :: Type) (f :: Type -> Type) Source # | |
Functor f => Recursive (->) (Nu f :: Type) (f :: Type -> Type) Source # | |
Functor f => Recursive (->) (Cofix f :: Type) (f :: Type -> Type) Source # | |
Recursive (->) (NonEmpty a :: Type) (AndMaybe a :: Type -> Type) Source # | |
Recursive (->) ([a] :: Type) (XNor a :: Type -> Type) Source # | |
Functor f => Recursive (->) (Cofree f a :: Type) (EnvT a f :: Type -> Type) Source # | |
Functor f => Recursive (->) (Free f a :: Type) (FreeF f a :: Type -> Type) Source # | |
IsList (Mu (XNor a)) Source # |
This means that most uses of |
IsList (Fix (XNor a)) Source # |
This means that most uses of |
(Functor f, Show1 f) => Show (Nu f) Source # | |
(Functor f, Show1 f) => Show (Cofix f) Source # | |
(Functor f, Foldable f, Eq1 f) => Eq (Nu f) Source # | |
(Functor f, Foldable f, Eq1 f) => Eq (Cofix f) Source # | |