histogram-fill-0.6.0.1: Library for histograms creation.

Safe HaskellNone

Data.Histogram.Bin.BinEnum

Synopsis

Documentation

newtype BinEnum a Source

Bin for types which are instnaces of Enum type class. Value are converted to Int using fromEnum first and then binned.

Constructors

BinEnum BinI 

Instances

Typeable1 BinEnum 
Eq (BinEnum a) 
Data a => Data (BinEnum a) 
Read (BinEnum a) 
Show (BinEnum a) 
NFData (BinEnum a) 
(Enum a, Ord a) => SliceableBin (BinEnum a) 
(Enum a, Ord a) => Bin1D (BinEnum a) 
(Enum a, Ord a) => IntervalBin (BinEnum a) 
Enum a => BinEq (BinEnum a) 
Enum a => Bin (BinEnum a) 

binEnum :: Enum a => a -> a -> BinEnum aSource

Create enum based bin

binEnumFull :: (Enum a, Bounded a) => BinEnum aSource

Use full range of data