arithmetic-1.2: Natural number arithmetic

LicenseMIT
MaintainerJoe Leslie-Hurd <joe@gilith.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Arithmetic.Utility.Heap

Description

 

Documentation

data Heap a Source

Instances

Show a => Show (Heap a) Source 

empty :: (a -> a -> Bool) -> Heap a Source

add :: a -> Heap a -> Heap a Source

remove :: Heap a -> Maybe (a, Heap a) Source

toList :: Heap a -> [a] Source