HLearn-datastructures-1.1.0

Safe HaskellNone

Data.Prunable

Documentation

class Prunable t whereSource

Methods

prunefoldr :: (b -> t a -> IndexType (t a) -> Bool) -> (a -> b -> b) -> b -> t a -> bSource

class Foldable t => DualFoldable t whereSource

Methods

dualfoldr :: ((a, a) -> b -> b) -> b -> t a -> t a -> bSource