Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. toList :: Ord a => MinQueue a -> [a]

    pqueue Data.PQueue.Min

    Returns the elements of the priority queue in ascending order. Equivalent to toAscList. If the order of the elements is irrelevant, consider using toListU.

  2. toListU :: MinQueue a -> [a]

    pqueue Data.PQueue.Min

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

  3. 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.

  4. 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.

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

    pqueue Data.PQueue.Prio.Max

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

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

    pqueue Data.PQueue.Prio.Max

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

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

    pqueue Data.PQueue.Prio.Max

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

  8. 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.

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

    pqueue Data.PQueue.Prio.Max

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

  10. 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.

Page 122 of many | Previous | Next