unfoldable-restricted-0.0.0: An alternative to the Unfoldable typeclass

Safe HaskellSafe
LanguageHaskell2010

Data.Unfoldable.Restricted

Documentation

class UnfoldableR pred t | t -> pred where Source

Methods

unfoldRestrict :: (pred a, Unfolder f) => f a -> f (t a) Source

class BiUnfoldableR predA predB t | t -> predA predB where Source

Methods

biunfoldRestrict :: (predA a, predB b, Unfolder f) => f a -> f b -> f (t a b) Source

Instances

class (Hashable a, Eq a) => Hashable' a Source

Instances