Hoogle Search
Within LTS Haskell 24.17 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Rebase.Data.List.
NonEmpty No documentation available.
-
rebase Rebase.Prelude Non-empty (and non-strict) list type.
-
base-prelude BasePrelude Non-empty (and non-strict) list type.
-
base-prelude BasePrelude.DataTypes Non-empty (and non-strict) list type.
-
No documentation available.
module Cursor.Simple.List.
NonEmpty No documentation available.
-
extra-data-yj Data.List.Infinite Non-empty (and non-strict) list type.
-
A library for non-empty boxed vectors (that is, polymorphic arrays capable of holding any Haskell value). Non-empty vectors come in two flavors:
- mutable
- immutable
filter (const false) v
which always produces an empty vector. Thus, some operations must return either a Maybe containing a NonEmptyVector or a Vector whenever appropriate. Generally The former is used in initialization and generation operations, and the latter is used in iterative operations where the intent is not to create an instance of NonEmptyVector. Credit to Roman Leshchinskiy for the original Vector library upon which this is based. -
No documentation available.
module Data.TDigest.Tree.
NonEmpty This is non empty version of TDigest, i.e. this is not a Monoid, but on the other hand, quantile returns Double not Maybe Double. See Data.TDigest for documentation. The exports should be similar, sans non-Maybe results.
Examples
>>> quantile 0.99 (tdigest (1 :| [2..1000]) :: TDigest 25) 990.5
>>> quantile 0.99 (tdigest (1 :| [2..1000]) :: TDigest 3) 989.0...
t-Digest is more precise in tails, especially median is imprecise:>>> median (forceCompress $ tdigest (1 :| [2..1000]) :: TDigest 25) 497.6...