Data.Measured.Class
Description
class Semigroup v => Measured v a | a -> v where Source #
Things that can be measured.
Methods
measure :: a -> v Source #
Defined in Data.Measured.Size
measure :: Elem a -> Size Source #
Defined in Data.BinaryTree
measure :: BinLeafTree v a -> v Source #
class Measured v a => CanInsert v a where Source #
Things that can be inserted.
insertA :: a -> v -> v Source #
class Measured v a => CanDelete v a where Source #
Things that can be deleted.
deleteA :: a -> v -> Maybe v Source #