Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
numhask NumHask.Algebra.Multiplicative A wrapper for an Multiplicative which distinguishes the multiplicative structure
-
numhask NumHask.Algebra.Multiplicative No documentation available.
-
A positive number type, defined as existing on [zero, +infinity)
-
numhask NumHask.Data.Positive A positive number is a number that is contained in [zero,+infinity).
>>> 1 :: Positive Int UnsafePositive {unPositive = 1}>>> -1 :: Positive Int ... • No instance for ‘Subtractive (Positive Int)’ arising from a use of syntactic negation ...
zero is positive>>> positive 0 == zero True
The main constructors:>>> positive (-1) UnsafePositive {unPositive = 0}>>> maybePositive (-1) Nothing
>>> UnsafePositive (-1) UnsafePositive {unPositive = -1} -
A prelude composed by overlaying numhask on Prelude, together with a few minor tweaks needed for RebindableSyntax.
-
No documentation available.
-
parameterized-utils Data.Parameterized.Classes A polymorphic equality operator that generalizes TestEquality.
module Data.Parameterized.Ctx.
Proofs This reflects type level proofs involving contexts.
data
PairRepr (f :: k1 -> Type) (g :: k2 -> Type) (p :: (k1, k2))parameterized-utils Data.Parameterized.DataKind No documentation available.
data
Pair (a :: k -> Type) (b :: k -> Type)parameterized-utils Data.Parameterized.Map Like a 2-tuple, but with an existentially quantified parameter that both of the elements share.