Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. forkMapM__ :: (a -> IO b) -> [a] -> IO ()

    monad-loops Control.Monad.Loops

    like forkMapM_ but not even bothering to track success or failure of the child threads. Still waits for them all though.

  2. contramapGLogFunc :: (a -> b) -> GLogFunc b -> GLogFunc a

    rio RIO

    A contramap. Use this to wrap sub-loggers via mapRIO. If you are on base > 4.12.0, you can just use contramap.

  3. contramapMaybeGLogFunc :: (a -> Maybe b) -> GLogFunc b -> GLogFunc a

    rio RIO

    A vesion of contramapMaybeGLogFunc which supports filering.

  4. concatMap :: (Word8 -> ByteString) -> ByteString -> ByteString

    rio RIO.ByteString

    Map a function over a ByteString and concatenate the results

  5. concatMap :: (Word8 -> ByteString) -> ByteString -> ByteString

    rio RIO.ByteString.Lazy

    Map a function over a ByteString and concatenate the results

  6. module RIO.HashMap

    Strict Map with hashed keys. Import as:

    import qualified RIO.HashMap as HM
    
    This module does not export any partial functions. For those, see RIO.HashMap.Partial

  7. data HashMap k v

    rio RIO.HashMap

    A map from keys to values. A map cannot contain duplicate keys; each key can map to at most one value.

  8. fromMap :: HashMap a () -> HashSet a

    rio RIO.HashSet

    Convert from the equivalent HashMap with () values.

    >>> HashSet.fromMap (HashMap.singleton 1 ())
    fromList [1]
    

  9. toMap :: HashSet a -> HashMap a ()

    rio RIO.HashSet

    Convert to set to the equivalent HashMap with () values.

    >>> HashSet.toMap (HashSet.singleton 1)
    fromList [(1,())]
    

  10. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    rio RIO.List

    Map a function over all the elements of a container and concatenate the resulting lists.

    Examples

    Basic usage:
    >>> concatMap (take 3) [[1..], [10..], [100..], [1000..]]
    [1,2,3,10,11,12,100,101,102,1000,1001,1002]
    
    >>> concatMap (take 3) (Just [1..])
    [1,2,3]
    

Page 490 of many | Previous | Next