HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduletdigest-0.3.1Haskell2010

Data.TDigest.Postprocess.Internal

TDigest postprocessing functions.

These are re-exported from Data.TDigest module.

  • 1 type
  • 2 classes
  • 6 values
  • Packagetdigest-0.3.1
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs

Histogram

3 declarations
classclass Affine f => HasHistogram a (f :: Type -> Type) | a -> f where
#

Types from which we can extract histogram.

Methods

Instances5HasHistogram
datadata HistBin
#

Histogram bin

Constructors

Instances3Show, HasHistogram

Quantiles

1 declaration

Mean & variance

2 declarations

As we have "full" histogram, we can calculate other statistical variables.

CDF

1 declaration

Debug

1 declaration

Affine - internal

1 declaration
classclass Traversable t => Affine (t :: Type -> Type) where
#

Affine containers, i.e. containing at most 1 element

This class doesn't have traverse analogie as it would require using Pointed which is disputed type class.

traverseAff :: Pointed f => (a -> f b) -> t a -> f (t b)

Methods

Instances4Affine
  • Affine IdentityDefined in tdigest-0.3.1 · Data.TDigest.Postprocess.Internal
  • Affine MaybeDefined in tdigest-0.3.1 · Data.TDigest.Postprocess.Internal
  • Affine ProxyDefined in tdigest-0.3.1 · Data.TDigest.Postprocess.Internal
  • (Affine f, Affine g) => Affine (Compose f g)Defined in tdigest-0.3.1 · Data.TDigest.Postprocess.Internal

    Composition of Affine containers is Affine