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.
mapShape :: (C sh0, C sh1) => (sh0 -> sh1) -> Array sh0 a -> Array sh1 acomfort-array Data.Array.Comfort.Storable No documentation available.
-
comfort-array Data.Array.Comfort.Storable No documentation available.
mapShape :: (sh0 -> sh1) -> Array sh0 a -> Array sh1 acomfort-array Data.Array.Comfort.Storable.Private No documentation available.
mapShape :: (sh0 -> sh1) -> Array sh0 a -> Array sh1 acomfort-array Data.Array.Comfort.Storable.Unchecked No documentation available.
-
comfort-array Data.Array.Comfort.Storable.Unchecked No documentation available.
mapNTree' :: (a -> Maybe a) -> NTree a -> NTree ahxt Data.Tree.NTree.Edit A space optimized map for NTrees Subtrees, that are not changed are reused in the resulting tree See also: editNTreeBottomUp
mapCons :: (Listable a, Listable b) => ([(a, b)] -> c) -> [[c]]leancheck Test.LeanCheck Given a constructor that takes a map of elements (encoded as a list), lists tiers of applications of this constructor So long as the underlying Listable enumerations have no repetitions, this will generate no repetitions. This allows defining an efficient implementation of tiers that does not repeat maps given by:
tiers = mapCons fromList
mapT :: (a -> b) -> [[a]] -> [[b]]leancheck Test.LeanCheck map over tiers
mapT f [[x], [y,z], [w,...], ...] = [[f x], [f y, f z], [f w, ...], ...]
mapT f [xs, ys, zs, ...] = [map f xs, map f ys, map f zs]
mapT :: (a -> b) -> [[a]] -> [[b]]leancheck Test.LeanCheck.Core map over tiers
mapT f [[x], [y,z], [w,...], ...] = [[f x], [f y, f z], [f w, ...], ...]
mapT f [xs, ys, zs, ...] = [map f xs, map f ys, map f zs]
mapCons :: (Listable a, Listable b) => ([(a, b)] -> c) -> [[c]]leancheck Test.LeanCheck.Error Given a constructor that takes a map of elements (encoded as a list), lists tiers of applications of this constructor So long as the underlying Listable enumerations have no repetitions, this will generate no repetitions. This allows defining an efficient implementation of tiers that does not repeat maps given by:
tiers = mapCons fromList