histogram-fill-0.8.4.1: Library for histograms creation.

Safe HaskellNone
LanguageHaskell98

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

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) 
Typeable (* -> *) BinEnum 
type BinValue (BinEnum a) = a 

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

Create enum based bin

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

Use full range of data