hgeometry-combinatorial-0.12.0.2: Data structures, and Data types.
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageHaskell2010

Data.Measured.Class

Description

 
Synopsis

Documentation

class Semigroup v => Measured v a | a -> v where Source #

Things that can be measured.

Methods

measure :: a -> v Source #

Instances

Instances details
Measured Size (Elem a) Source # 
Instance details

Defined in Data.Measured.Size

Methods

measure :: Elem a -> Size Source #

Measured v a => Measured v (BinLeafTree v a) Source # 
Instance details

Defined in Data.BinaryTree

Methods

measure :: BinLeafTree v a -> v Source #

class Measured v a => CanInsert v a where Source #

Things that can be inserted.

Methods

insertA :: a -> v -> v Source #

class Measured v a => CanDelete v a where Source #

Things that can be deleted.

Methods

deleteA :: a -> v -> Maybe v Source #