histogram-fill-0.9.1.0: 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) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Methods

(==) :: MaybeBin bin -> MaybeBin bin -> Bool #

(/=) :: MaybeBin bin -> MaybeBin bin -> Bool #

Read bin => Read (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Show bin => Show (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Methods

showsPrec :: Int -> MaybeBin bin -> ShowS #

show :: MaybeBin bin -> String #

showList :: [MaybeBin bin] -> ShowS #

NFData bin => NFData (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Methods

rnf :: MaybeBin bin -> () #

VariableBin bin => VariableBin (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Methods

binSizeN :: MaybeBin bin -> Int -> BinValue (MaybeBin bin) Source #

BinEq bin => BinEq (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Methods

binEq :: MaybeBin bin -> MaybeBin bin -> Bool Source #

Bin bin => Bin (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.MaybeBin

Associated Types

type BinValue (MaybeBin bin) :: * Source #

type BinValue (MaybeBin bin) Source # 
Instance details

Defined in Data.Histogram.Bin.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