size-based-0.1.0.0: Sized functors, for size-based enumerations

Safe HaskellNone
LanguageHaskell2010

Control.Enumerable.Count

Synopsis

Documentation

newtype Count a Source

Counts the number of values of a all sizes. Usage: @global :: Count [Bool]

Constructors

Count 

Fields

count :: [Integer]
 

(!!*) :: Count a -> Int -> Integer Source

Counts the number of values of a given size, 0 if out of bounds.

(</>) :: Count a -> Count a -> Count a infixl 4 Source