Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapT :: (a -> b) -> [[a]] -> [[b]]extrapolate Test.Extrapolate.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]
mappend :: Monoid a => a -> a -> afaktory Faktory.Prelude An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.
-
fixed-vector-hetero Data.Vector.HFixed Apply monadic action to every element in the vector
mapNat :: HVectorF v => (forall a . () => f a -> g a) -> v f -> v gfixed-vector-hetero Data.Vector.HFixed Apply natural transformation to every element of the tuple.
>>> mapNat (Just . runIdentity) (mk2F (pure 'c') (pure 1) :: HVecF '[Char, Int] Identity) [Just 'c',Just 1]
mapOf :: Ord a => Reader a -> Reader b -> Reader (Map a b)flags-applicative Flags.Applicative Transforms a single-valued unary flag into one which accepts a comma-separated list of colon-delimited key-value pairs. The syntax is key:value[,key:value...]. Note that escapes are not supported, so neither keys not values should contain colons or commas.
mapAccumulator :: (m -> n) -> FunctionBuilder m a b -> FunctionBuilder n a bfunction-builder Data.FunctionBuilder Convert the accumulated (usually monoidal-) value, this allows to change the underlying accumlator type.
mapNext :: (s -> r) -> FunctionBuilder m r a -> FunctionBuilder m s afunction-builder Data.FunctionBuilder Convert the output of a FunctionBuilder value; since most FunctionBuilders are parameteric in r they also have r in a in a, such that a always either is r or is a function returning r eventually. In order to get from a FunctionBuilder that can accept a continuation returning it an r to a FunctionBuilder that accepts continuations returning an s instead, we need to apply a function s -> r to the return value of the continuation. Note that a mapNext will not only change the r to an s but probably also the the a, when it is parametric, as in this contrived example:
example :: Int -> x -> Sum Int example = toFunction (ign add) add :: FunctionBuilder (Sum Int) next (Int -> next) add = FB (\k x -> k $ Sum x) ign :: FunctionBuilder m (x -> r) a -> FunctionBuilder m r a ign = mapNext const
Here the extra parameter x is pushed down into the a of the add FunctionBuilder.mapGetView :: (HasCallStack, MonadIO m, IsMap a) => a -> m (Maybe View)gi-gtksource5 GI.GtkSource.Objects.Map Gets the [propertymap:view] property, which is the view this widget is mapping.
mapNew :: (HasCallStack, MonadIO m) => m Mapgi-gtksource5 GI.GtkSource.Objects.Map Creates a new GtkSourceMap.
mapSetView :: (HasCallStack, MonadIO m, IsMap a, IsView b) => a -> b -> m ()gi-gtksource5 GI.GtkSource.Objects.Map Sets the view that map will be doing the mapping to.