Hoogle Search

Within LTS Haskell 24.62 (ghc-9.10.3)

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

  1. toAscOccurList :: IntMultiSet -> [(Int, Int)]

    multiset Data.IntMultiSet

    O(n). Convert the multiset to an ascending list of element/occurrence pairs.

  2. toList :: IntMultiSet -> [Key]

    multiset Data.IntMultiSet

    O(t). Convert the multiset to a list of elements.

  3. toOccurList :: IntMultiSet -> [(Int, Int)]

    multiset Data.IntMultiSet

    O(n). Convert the multiset to a list of element/occurrence pairs.

  4. fromAscList :: Eq a => [a] -> MultiSet a

    multiset Data.MultiSet

    O(t). Build a multiset from an ascending list in linear time. The precondition (input list is ascending) is not checked.

  5. fromAscOccurList :: Eq a => [(a, Occur)] -> MultiSet a

    multiset Data.MultiSet

    O(n). Build a multiset from an ascending list of element/occurrence pairs in linear time. Occurrences must be positive. The precondition (input list is ascending, all occurrences > 0) is not checked.

  6. fromDistinctAscList :: [a] -> MultiSet a

    multiset Data.MultiSet

    O(n). Build a multiset from an ascending list of distinct elements in linear time. The precondition (input list is strictly ascending) is not checked.

  7. fromDistinctAscOccurList :: [(a, Occur)] -> MultiSet a

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

  8. fromList :: Ord a => [a] -> MultiSet a

    multiset Data.MultiSet

    O(t*log t). Create a multiset from a list of elements.

  9. fromOccurList :: Ord a => [(a, Occur)] -> MultiSet a

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

  10. toAscList :: MultiSet a -> [a]

    multiset Data.MultiSet

    O(t). Convert the multiset to an ascending list of elements.

Page 169 of many | Previous | Next