Hoogle Search

Within LTS Haskell 24.62 (ghc-9.10.3)

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

  1. fromRList :: RSet a -> RSet a

    range-set-list Data.RangeSet.Map

    O(n). Convert a list-based RSet to a map-based RSet.

  2. fromRangeList :: (Ord a, Enum a) => [(a, a)] -> RSet a

    range-set-list Data.RangeSet.Map

    O(n*log n). Create a set from a list of range pairs. Note that unlike Data.Set and other binary trees, this always requires a full sort and traversal to create distinct, disjoint ranges before constructing the tree.

  3. toAscList :: Enum a => RSet a -> [a]

    range-set-list Data.RangeSet.Map

    O(n*r). Convert the set to an ascending list of elements.

  4. toList :: Enum a => RSet a -> [a]

    range-set-list Data.RangeSet.Map

    O(n*r). Convert the set to a list of elements (in arbitrary order). r is the size of longest range.

  5. toRList :: RSet a -> RSet a

    range-set-list Data.RangeSet.Map

    O(n). Convert a map-based RSet to a list-based RSet.

  6. toRangeList :: RSet a -> [(a, a)]

    range-set-list Data.RangeSet.Map

    O(n). Convert the set to a list of range pairs.

  7. liftList :: POrder b => ([a] -> b) -> [Prop a] -> Prop b -> IO ()

    rec-def Data.Propagator.Naive

    Whenever any of the cells in the list change, update the other, using the given function

  8. defList :: (Propagator pa a, Propagator pb b) => ([pa] -> pb -> IO ()) -> [Purify pa] -> Purify pb

    rec-def Data.Propagator.Purify

    Defines a value of type Purify b to be a function of the values of a list of Purify a values. The action passed should declare that relation to the underlying propagator. The Prop a propagators must only be used for reading values from.

  9. decodeListOf :: Typeable a => Typed (Decoder a -> Decoder [a])

    registry-aeson Data.Registry.Aeson.Decoder

    Add a Decoder [a] to a registry of decoders usage: decoders = decodeListOf @a <: otherDecoders the list of otherDecoders must contain a Decoder a otherwise there will be a compilation error

  10. encodeListOf :: Typeable a => Typed (Encoder a -> Encoder [a])

    registry-aeson Data.Registry.Aeson.Encoder

    Create an Encoder for a list [a]

Page 218 of many | Previous | Next