Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapU :: (u -> u') -> DUALTree d u a l -> DUALTree d u' a ldual-tree Data.Tree.DUAL.Internal Map a function over all the u annotations in a DUAL-tree. The function must be a monoid homomorphism, and must commute with the action of d on u. That is, to use mapU f safely it must be the case that
f mempty == mempty
f (u1 <> u2) == f u1 <> f u2
f (act d u) == act d (f u)
mapUNE :: (u -> u') -> DUALTreeNE d u a l -> DUALTreeNE d u' a ldual-tree Data.Tree.DUAL.Internal Map a function (which must be a monoid homomorphism, and commute with the action of d) over all the u annotations in a non-empty DUAL-tree.
mapUU :: (u -> u') -> DUALTreeU d u a l -> DUALTreeU d u' a ldual-tree Data.Tree.DUAL.Internal Map a function (which must be a monoid homomorphism, and commute with the action of d) over all the u annotations in a non-empty DUAL-tree paired with its cached u value.
-
effectful Effectful.Concurrent.Async Lifted mapConcurrently.
-
effectful Effectful.Concurrent.Async Lifted mapConcurrently_.
mapM :: (Vector v a, Vector v b, Applicative f) => (a -> f b) -> v a -> f (v b)fixed-vector Data.Vector.Fixed Effectful map over vector.
mapM_ :: (Vector v a, Applicative f) => (a -> f b) -> v a -> f ()fixed-vector Data.Vector.Fixed Apply monadic action to each element of vector and ignore result.
-
fixed-vector Data.Vector.Fixed.Cont Effectful map over vector.
-
fixed-vector Data.Vector.Fixed.Cont Apply monadic action to each element of vector and ignore result.
mapG :: (Vector v a, Vector w b, Dim v ~ Dim w) => (a -> b) -> v a -> w bfixed-vector Data.Vector.Fixed.Generic Map over vector