Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromIntSet :: IntSet -> IntSet

    uniplate Data.Generics.Uniplate.Data.Instances

    Deconstruct a value of type IntSet.

  2. toIntSet :: IntSet -> IntSet

    uniplate Data.Generics.Uniplate.Data.Instances

    Construct a value of type IntSet.

  3. enumSetToIntSet :: EnumSet k -> IntSet

    enummapset Data.EnumSet

    Unwrap IntSet.

  4. getIntSet :: IntSetOf a -> IntSet

    semirings Data.Semiring

    No documentation available.

  5. asIntSet :: IntSet -> IntSet

    classy-prelude ClassyPrelude

    No documentation available.

  6. data NEIntSet

    nonempty-containers Data.IntSet.NonEmpty

    A non-empty (by construction) set of integers. At least one value exists in an NEIntSet a at all times. Functions that take an NEIntSet can safely operate on it with the assumption that it has at least one item. Functions that return an NEIntSet provide an assurance that the result has at least one item. Data.IntSet.NonEmpty re-exports the API of Data.IntSet, faithfully reproducing asymptotics, typeclass constraints, and semantics. Functions that ensure that input and output sets are both non-empty (like insert) return NEIntSet, but functions that might potentially return an empty map (like delete) return a IntSet instead. You can directly construct an NEIntSet with the API from Data.IntSet.NonEmpty; it's more or less the same as constructing a normal IntSet, except you don't have access to empty. There are also a few ways to construct an NEIntSet from a IntSet:

    1. The nonEmptySet smart constructor will convert a IntSet a into a Maybe (NEIntSet a), returning Nothing if the original IntSet was empty.
    2. You can use the insertIntSet family of functions to insert a value into a IntSet to create a guaranteed NEIntSet.
    3. You can use the IsNonEmpty and IsEmpty patterns to "pattern match" on a IntSet to reveal it as either containing a NEIntSet or an empty map.
    4. withNonEmpty offers a continuation-based interface for deconstructing a IntSet and treating it as if it were an NEIntSet.
    You can convert an NEIntSet into a IntSet with toSet or IsNonEmpty, essentially "obscuring" the non-empty property from the type.

  7. data NEIntSet

    nonempty-containers Data.IntSet.NonEmpty.Internal

    A non-empty (by construction) set of integers. At least one value exists in an NEIntSet a at all times. Functions that take an NEIntSet can safely operate on it with the assumption that it has at least one item. Functions that return an NEIntSet provide an assurance that the result has at least one item. Data.IntSet.NonEmpty re-exports the API of Data.IntSet, faithfully reproducing asymptotics, typeclass constraints, and semantics. Functions that ensure that input and output sets are both non-empty (like insert) return NEIntSet, but functions that might potentially return an empty map (like delete) return a IntSet instead. You can directly construct an NEIntSet with the API from Data.IntSet.NonEmpty; it's more or less the same as constructing a normal IntSet, except you don't have access to empty. There are also a few ways to construct an NEIntSet from a IntSet:

    1. The nonEmptySet smart constructor will convert a IntSet a into a Maybe (NEIntSet a), returning Nothing if the original IntSet was empty.
    2. You can use the insertIntSet family of functions to insert a value into a IntSet to create a guaranteed NEIntSet.
    3. You can use the IsNonEmpty and IsEmpty patterns to "pattern match" on a IntSet to reveal it as either containing a NEIntSet or an empty map.
    4. withNonEmpty offers a continuation-based interface for deconstructing a IntSet and treating it as if it were an NEIntSet.
    You can convert an NEIntSet into a IntSet with toSet or IsNonEmpty, essentially "obscuring" the non-empty property from the type.

  8. NEIntSet :: Key -> IntSet -> NEIntSet

    nonempty-containers Data.IntSet.NonEmpty.Internal

    No documentation available.

  9. neisIntSet :: NEIntSet -> !IntSet

    nonempty-containers Data.IntSet.NonEmpty.Internal

    No documentation available.

  10. data PrimeIntSet

    arithmoi Math.NumberTheory.Primes.IntSet

    A set of Prime integers.

Page 5 of many | Previous | Next