Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. module Data.MonoidMap.Internal.RecoveredMap

    An ordinary left-biased map similar to Map, implemented in terms of MonoidMap.

  2. unsafeFromMap :: Map k v -> MonoidMap k v

    monoidmap-internal Data.MonoidMap.Internal.Unsafe

    Unsafely constructs a MonoidMap from an ordinary Map. Constructs a MonoidMap in constant time, without imposing the burden of a canonicalisation step to remove null values. When applied to a given Map m, this function expects but does not check the following pre-condition:

    all (not . null) m
    
    Not satisfying this pre-condition will result in undefined behaviour. See fromMap for a safe version of this function.

  3. streamApp :: forall ch (m :: Type -> Type) con (api :: API) . (Eq ch, Monad m, Hashable ch) => App (Event ch con) m -> Input api -> Output api (Event ch con) m

    morpheus-graphql-subscriptions Data.Morpheus.Subscriptions.Internal

    No documentation available.

  4. concatMap :: (Key -> [Key]) -> IntMultiSet -> IntMultiSet

    multiset Data.IntMultiSet

    O(n). Apply a function to each element, and take the union of the results

  5. fromMap :: IntMap Int -> IntMultiSet

    multiset Data.IntMultiSet

    O(n). Convert an IntMap from elements to occurrences to a multiset.

  6. fromOccurMap :: IntMap Int -> IntMultiSet

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

  7. toMap :: IntMultiSet -> IntMap Int

    multiset Data.IntMultiSet

    O(1). Convert a multiset to an IntMap from elements to number of occurrences.

  8. unionsMap :: (Key -> IntMultiSet) -> IntMultiSet -> IntMultiSet

    multiset Data.IntMultiSet

    O(n). Apply a function to each element, and take the union of the results

  9. concatMap :: Ord b => (a -> [b]) -> MultiSet a -> MultiSet b

    multiset Data.MultiSet

    O(n). Apply a function to each element, and take the union of the results

  10. fromMap :: Map a Occur -> MultiSet a

    multiset Data.MultiSet

    O(n). Convert a Map from elements to occurrences to a multiset.

Page 1075 of many | Previous | Next