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.

  1. 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]
    

  2. mappend :: Monoid a => a -> a -> a

    faktory 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.

  3. mapM_ :: (HVector v, ArityC c (Elems v), Applicative f) => Proxy c -> (forall a . c a => a -> f ()) -> v -> f ()

    fixed-vector-hetero Data.Vector.HFixed

    Apply monadic action to every element in the vector

  4. mapNat :: HVectorF v => (forall a . () => f a -> g a) -> v f -> v g

    fixed-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]
    

  5. 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.

  6. mapAccumulator :: (m -> n) -> FunctionBuilder m a b -> FunctionBuilder n a b

    function-builder Data.FunctionBuilder

    Convert the accumulated (usually monoidal-) value, this allows to change the underlying accumlator type.

  7. mapNext :: (s -> r) -> FunctionBuilder m r a -> FunctionBuilder m s a

    function-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.

  8. 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.

  9. mapNew :: (HasCallStack, MonadIO m) => m Map

    gi-gtksource5 GI.GtkSource.Objects.Map

    Creates a new GtkSourceMap.

  10. 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.

Page 293 of many | Previous | Next