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. toListU :: MinQueue a -> [a]

    pqueue Data.PQueue.Min

    Returns the elements of the queue, in no particular order.

  2. fromAscList :: [(k, a)] -> MaxPQueue k a

    pqueue Data.PQueue.Prio.Max

    Build a priority queue from an ascending list of (key, value) pairs. The precondition is not checked.

  3. fromDescList :: [(k, a)] -> MaxPQueue k a

    pqueue Data.PQueue.Prio.Max

    Build a priority queue from a descending list of (key, value) pairs. The precondition is not checked.

  4. fromList :: Ord k => [(k, a)] -> MaxPQueue k a

    pqueue Data.PQueue.Prio.Max

    Build a priority queue from the list of (key, value) pairs.

  5. toAscList :: Ord k => MaxPQueue k a -> [(k, a)]

    pqueue Data.PQueue.Prio.Max

    Return all (key, value) pairs in ascending order by key.

  6. toDescList :: Ord k => MaxPQueue k a -> [(k, a)]

    pqueue Data.PQueue.Prio.Max

    Return all (key, value) pairs in descending order by key.

  7. toList :: Ord k => MaxPQueue k a -> [(k, a)]

    pqueue Data.PQueue.Prio.Max

    Equivalent to toDescList. If the traversal order is irrelevant, consider using toListU.

  8. toListU :: MaxPQueue k a -> [(k, a)]

    pqueue Data.PQueue.Prio.Max

    Returns all (key, value) pairs in the queue in no particular order.

  9. fromAscList :: [(k, a)] -> MinPQueue k a

    pqueue Data.PQueue.Prio.Min

    Build a priority queue from an ascending list of (key, value) pairs. The precondition is not checked.

  10. fromDescList :: [(k, a)] -> MinPQueue k a

    pqueue Data.PQueue.Prio.Min

    Build a priority queue from a descending list of (key, value) pairs. The precondition is not checked.

Page 122 of many | Previous | Next