Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. toAscList :: IntMultiSet -> [Key]

    multiset Data.IntMultiSet

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

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

    multiset Data.IntMultiSet

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

  3. toList :: IntMultiSet -> [Key]

    multiset Data.IntMultiSet

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

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

    multiset Data.IntMultiSet

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

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

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

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

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

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

    multiset Data.MultiSet

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

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

Page 168 of many | Previous | Next