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. mapCycle :: (Time -> Time) -> Arc -> Arc

    tidal Sound.Tidal.Boot

    Similar to fmap but time is relative to the cycle (i.e. the sam of the start of the arc)

  2. mapTableErrors :: Key -> [TomlDecodeError] -> [TomlDecodeError]

    tomland Toml.Codec.Combinator.Table

    Prepends given key to all errors that contain key. This function is used to give better error messages. So when error happens we know all pieces of table key, not only the last one.

  3. mapTup3 :: (a -> b) -> (a, a, a) -> (b, b, b)

    tools-yj Data.Tuple.ToolsYj

    No documentation available.

  4. mapTup3M :: Applicative m => (a -> m b) -> (a, a, a) -> m (b, b, b)

    tools-yj Data.Tuple.ToolsYj

    No documentation available.

  5. mapTup3M_ :: Applicative m => (a -> m b) -> (a, a, a) -> m ()

    tools-yj Data.Tuple.ToolsYj

    No documentation available.

  6. mapWithKey :: ([c] -> a -> b) -> TMap c a -> TMap c b

    trie-simple Data.Trie.Map

    Same semantics to following defintion, but have more efficient implementation.

    mapWithKey f = fromAscList .
    map (\(cs,a) -> (cs,  f cs a)) .
    toAscList
    

  7. mapPolyT :: MapT (Poly a b) s t => (a -> b) -> s -> t

    tuple-sop Data.Tuple.Ops

    Applies a polymorphic function to each element in an n-ary tuple. Requires all elements in the tuple to be of the same type.

    >>> mapPolyT (+1) (5,6,7,8)
    (6,7,8,9)
    
    >>> mapPolyT (+1) (5,6,7,False)
    No instance for (Num Bool) arising from the literal `5'
    

  8. mapT :: MapT f s t => f -> s -> t

    tuple-sop Data.Tuple.Ops

    Maps a monomorphic function over each element in an n-ary tuple that matches the type of the argument of the function

    >>> mapT not (True,'c',False)
    (False,'c',True)
    
    Sometimes it is necessary to specify the result type.
    >>> mapT (+1) (5,6,7,False) :: (Integer,Integer,Integer,Bool)
    (6,7,8,False)
    
    Using mapPolyT this is not necessary. However, to use mapPolyT the tuple may only contains elements of a single type.

  9. mapM :: (Monad m, Unboxable a, Unboxable b) => (a -> m b) -> Vector a -> m (Vector b)

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  10. mapM_ :: (Monad m, Unboxable a) => (a -> m b) -> Vector a -> m ()

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

Page 324 of many | Previous | Next