histogram-fill-0.8.4.1: Library for histograms creation.

Safe HaskellNone
LanguageHaskell98

Data.Histogram.Bin.MaybeBin

Synopsis

Documentation

newtype MaybeBin bin Source

This binning algorithms adds special case of no value.

Constructors

MaybeBin bin 

Instances

Eq bin => Eq (MaybeBin bin) 
Read bin => Read (MaybeBin bin) 
Show bin => Show (MaybeBin bin) 
NFData bin => NFData (MaybeBin bin) 
VariableBin bin => VariableBin (MaybeBin bin) 
BinEq bin => BinEq (MaybeBin bin) 
Bin bin => Bin (MaybeBin bin) 
Typeable (* -> *) MaybeBin 
type BinValue (MaybeBin bin) = Maybe (BinValue bin) 

fromMaybeBin :: (Bin b, Vector v a) => Histogram v (MaybeBin b) a -> Histogram v b a Source

Drop bin with no events