Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Unfoldable.Restricted
Documentation
class UnfoldableR pred t | t -> pred where Source
Methods
unfoldRestrict :: (pred a, Unfolder f) => f a -> f (t a) Source
Instances
UnfoldableR Ord Set Source | |
UnfoldableR Hashable' HashSet 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
BiUnfoldableR Ord Unit Map Source | |
BiUnfoldableR Hashable' Unit HashMap Source |
class (Hashable a, Eq a) => Hashable' a Source
Instances
UnfoldableR Hashable' HashSet Source | |
BiUnfoldableR Hashable' Unit HashMap Source |