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.
mapCycle :: (Time -> Time) -> Arc -> Arctidal Sound.Tidal.Boot Similar to fmap but time is relative to the cycle (i.e. the sam of the start of the arc)
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.
mapTup3 :: (a -> b) -> (a, a, a) -> (b, b, b)tools-yj Data.Tuple.ToolsYj No documentation available.
mapTup3M :: Applicative m => (a -> m b) -> (a, a, a) -> m (b, b, b)tools-yj Data.Tuple.ToolsYj No documentation available.
mapTup3M_ :: Applicative m => (a -> m b) -> (a, a, a) -> m ()tools-yj Data.Tuple.ToolsYj No documentation available.
mapWithKey :: ([c] -> a -> b) -> TMap c a -> TMap c btrie-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
mapPolyT :: MapT (Poly a b) s t => (a -> b) -> s -> ttuple-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'
mapT :: MapT f s t => f -> s -> ttuple-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.mapM :: (Monad m, Unboxable a, Unboxable b) => (a -> m b) -> Vector a -> m (Vector b)unboxing-vector Data.Vector.Unboxing No documentation available.
mapM_ :: (Monad m, Unboxable a) => (a -> m b) -> Vector a -> m ()unboxing-vector Data.Vector.Unboxing No documentation available.