Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromMap :: IntMap Int -> IntMultiSetmultiset Data.IntMultiSet O(n). Convert an IntMap from elements to occurrences to a multiset.
fromOccurMap :: IntMap Int -> IntMultiSetmultiset Data.IntMultiSet O(1). Convert an IntMap from elements to occurrences to a multiset. Assumes that the IntMap contains only values larger than zero. The precondition (all elements > 0) is not checked.
toMap :: IntMultiSet -> IntMap Intmultiset Data.IntMultiSet O(1). Convert a multiset to an IntMap from elements to number of occurrences.
unionsMap :: (Key -> IntMultiSet) -> IntMultiSet -> IntMultiSetmultiset Data.IntMultiSet O(n). Apply a function to each element, and take the union of the results
concatMap :: Ord b => (a -> [b]) -> MultiSet a -> MultiSet bmultiset Data.MultiSet O(n). Apply a function to each element, and take the union of the results
fromMap :: Map a Occur -> MultiSet amultiset Data.MultiSet O(n). Convert a Map from elements to occurrences to a multiset.
fromOccurMap :: Map a Occur -> MultiSet amultiset Data.MultiSet O(1). Convert a Map from elements to occurrences to a multiset. Assumes that the Map contains only values larger than zero. The precondition (all elements > 0) is not checked.
toMap :: MultiSet a -> Map a Occurmultiset Data.MultiSet O(1). Convert a multiset to a Map from elements to number of occurrences.
unionsMap :: Ord b => (a -> MultiSet b) -> MultiSet a -> MultiSet bmultiset Data.MultiSet O(n). Apply a function to each element, and take the union of the results
instrumentMap :: State -> HashMap InstrumentId CaptureInstrumentopentelemetry-extra OpenTelemetry.EventlogStreaming_Internal No documentation available.