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. toAscList :: Ord a => MaxQueue a -> [a]

    pqueue Data.PQueue.Max

    Extracts the elements of the priority queue in ascending order.

  2. toDescList :: Ord a => MaxQueue a -> [a]

    pqueue Data.PQueue.Max

    Extracts the elements of the priority queue in descending order.

  3. toList :: Ord a => MaxQueue a -> [a]

    pqueue Data.PQueue.Max

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

  4. toListU :: MaxQueue a -> [a]

    pqueue Data.PQueue.Max

    Returns a list of the elements of the priority queue, in no particular order.

  5. fromAscList :: [a] -> MinQueue a

    pqueue Data.PQueue.Min

    Constructs a priority queue from an ascending list. Warning: Does not check the precondition. Performance note: Code using this function in a performance-sensitive context with an argument that is a "good producer" for list fusion should be compiled with -fspec-constr or -O2. For example, fromAscList . map f needs one of these options for best results.

  6. fromDescList :: [a] -> MinQueue a

    pqueue Data.PQueue.Min

    Constructs a priority queue from an descending list. Warning: Does not check the precondition.

  7. fromList :: Ord a => [a] -> MinQueue a

    pqueue Data.PQueue.Min

    Constructs a priority queue from an unordered list.

  8. toAscList :: Ord a => MinQueue a -> [a]

    pqueue Data.PQueue.Min

    Extracts the elements of the priority queue in ascending order.

  9. toDescList :: Ord a => MinQueue a -> [a]

    pqueue Data.PQueue.Min

    Extracts the elements of the priority queue in descending order.

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

Page 121 of many | Previous | Next