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.
fromDistinctAscOccurList :: [(a, Occur)] -> MultiSet amultiset Data.MultiSet O(n). Build a multiset from an ascending list of elements/occurrence pairs where each elements appears only once. Occurrences must be positive. The precondition (input list is strictly ascending, all occurrences > 0) is not checked.
fromList :: Ord a => [a] -> MultiSet amultiset Data.MultiSet O(t*log t). Create a multiset from a list of elements.
fromOccurList :: Ord a => [(a, Occur)] -> MultiSet amultiset Data.MultiSet O(n*log n). Create a multiset from a list of element/occurrence pairs. Occurrences must be positive. The precondition (all occurrences > 0) is not checked.
toAscList :: MultiSet a -> [a]multiset Data.MultiSet O(t). Convert the multiset to an ascending list of elements.
toAscOccurList :: MultiSet a -> [(a, Occur)]multiset Data.MultiSet O(n). Convert the multiset to an ascending list of element/occurrence pairs.
-
multiset Data.MultiSet O(t). Convert the multiset to a list of elements.
toOccurList :: MultiSet a -> [(a, Occur)]multiset Data.MultiSet O(n). Convert the multiset to a list of element/occurrence pairs.
getHListElem :: ContainsType a c => HList c -> amultistate Data.HList.ContainsType No documentation available.
setHListElem :: ContainsType a c => a -> HList c -> HList cmultistate Data.HList.ContainsType No documentation available.
-
A GADT HList implementation There exist other implementations of HList on hackage, but none seem to be reliably maintained.