Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
toList :: PSQ k p -> [Binding k p]PSQueue Data.PSQueue O(n) Convert a queue to a list.
fromAscList :: (Eq k, Ord p) => [Binding k p] -> PSQ k pPSQueue Data.PSQueue.Internal O(n) Build a queue from a list of bindings in order of ascending keys. The precondition that the keys are ascending is not checked.
fromDistinctAscList :: Ord p => [Binding k p] -> PSQ k pPSQueue Data.PSQueue.Internal O(n) Build a queue from a list of distinct bindings in order of ascending keys. The precondition that keys are distinct and ascending is not checked.
fromList :: (Ord k, Ord p) => [Binding k p] -> PSQ k pPSQueue Data.PSQueue.Internal O(n log n) Build a queue from a list of bindings.
toAscList :: PSQ k p -> [Binding k p]PSQueue Data.PSQueue.Internal O(n) Convert a queue to a list in ascending order of keys.
toAscLists :: PSQ k p -> Sequ (Binding k p)PSQueue Data.PSQueue.Internal No documentation available.
toDescList :: PSQ k p -> [Binding k p]PSQueue Data.PSQueue.Internal O(n) Convert a queue to a list in descending order of keys.
toDescLists :: PSQ k p -> Sequ (Binding k p)PSQueue Data.PSQueue.Internal No documentation available.
toList :: PSQ k p -> [Binding k p]PSQueue Data.PSQueue.Internal O(n) Convert a queue to a list.
-
Stream Data.Stream The fromList converts an infinite list to a stream. Beware: Passing a finite list, will cause an error.