Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. map :: Bits b => (Bool -> Bool) -> b -> b

    bitwise Data.Bits.Bitwise

    Lift a unary boolean operation to a bitwise operation. The implementation is by exhaustive input/output case analysis: thus the operation provided must be total.

  2. map :: (a -> b) -> [a] -> [b]

    cabal-install-solver Distribution.Solver.Compat.Prelude

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    this means that map id == id

    Examples

    >>> map (+1) [1, 2, 3]
    [2,3,4]
    
    >>> map id [1, 2, 3]
    [1,2,3]
    
    >>> map (\n -> 3 * n + 1) [1, 2, 3]
    [4,7,10]
    

  3. map :: (v1 -> v2) -> PSQ k v1 -> PSQ k v2

    cabal-install-solver Distribution.Solver.Modular.PSQ

    No documentation available.

  4. map :: (Double -> Double) -> Matrix -> Matrix

    dense-linear-algebra Statistics.Matrix

    Apply function to every element of matrix

  5. map :: (a -> b) -> [a] -> [b]

    ihaskell IHaskellPrelude

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    this means that map id == id

    Examples

    >>> map (+1) [1, 2, 3]
    [2,3,4]
    
    >>> map id [1, 2, 3]
    [1,2,3]
    
    >>> map (\n -> 3 * n + 1) [1, 2, 3]
    [4,7,10]
    

  6. map :: (a -> b) -> [a] -> [b]

    incipit-base Incipit.Base

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    this means that map id == id

    Examples

    >>> map (+1) [1, 2, 3]
    [2,3,4]
    
    >>> map id [1, 2, 3]
    [1,2,3]
    
    >>> map (\n -> 3 * n + 1) [1, 2, 3]
    [4,7,10]
    

  7. map :: (Representable a, Representable b) => (a % 1 -> b) -> List a % 1 -> Pool % 1 -> List b

    linear-base Foreign.List

    No documentation available.

  8. map :: (a -> b) -> AList a -> AList b

    monad-par-extras Control.Monad.Par.AList

    The usual map operation.

  9. map :: MonoidNull v2 => (v1 -> v2) -> MonoidMap k v1 -> MonoidMap k v2

    monoidmap-internal Data.MonoidMap.Internal

    Applies a function to all non-null values of a MonoidMap. Satisfies the following properties for all functions f:

    (get k m == mempty) ==> (get k (map f m) == mempty     )
    (get k m /= mempty) ==> (get k (map f m) == f (get k m))
    

    Conditional properties

    If applying function f to mempty produces mempty, then the following additional properties hold:
    (f mempty == mempty)
    ==>
    (∀ k. get k (map f m) == f (get k m))
    
    (f mempty == mempty)
    ==>
    (∀ g. map (f . g) m == map f (map g m))
    

  10. map :: (v1 -> v2) -> Map k v1 -> Map k v2

    monoidmap-internal Data.MonoidMap.Internal.RecoveredMap

    No documentation available.

Page 34 of many | Previous | Next