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.
fromList :: Ord a => [a] -> Heap aheaps Data.Heap O(n). Build a heap from a list of values.
fromList . toList ≡ id toList . fromList ≡ sort
toUnsortedList :: Heap a -> [a]heaps Data.Heap O(n). Returns the elements in the heap in some arbitrary, very likely unsorted, order.
>>> toUnsortedList (fromList [3,1,2]) [1,3,2]
fromList . toUnsortedList ≡ id
-
No documentation available.
-
hetero-parameter-list Data.HeteroParList No documentation available.
class
HomoList (s :: k) (ss :: [k])hetero-parameter-list Data.HeteroParList No documentation available.
-
hetero-parameter-list Data.HeteroParList No documentation available.
class
ToListT2 k1 k2 (ss :: [(k1, k2)])hetero-parameter-list Data.HeteroParList No documentation available.
class
ToListT3 k1 k2 k3 (ss :: [(k1, k2, k3)])hetero-parameter-list Data.HeteroParList No documentation available.
class
ToListWithC (c :: k -> Constraint) (ss :: [k])hetero-parameter-list Data.HeteroParList No documentation available.
class
ToListWithC2 (c :: k -> Constraint) (sss :: [[k]])hetero-parameter-list Data.HeteroParList No documentation available.