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 :: (Shape sh, Source r a) => (a -> b) -> Array r sh a -> Array D sh b

    repa Data.Array.Repa.Operators.Mapping

    Apply a worker function to each element of an array, yielding a new array with the same extent.

  2. map :: Ord b => (a -> b) -> SortedList a -> SortedList b

    sorted-list Data.SortedList

    Map a function over all the elements of a sorted list. Note that map will hang if the argument is an infinite list. Even though SortedList can't be made an instance of Functor, map does hold the Functor laws (for finite lists). We can't however write an instance because of the Ord instance requirement on the type of the elements of the result list. Therefore, while SortedList is not a functor type in general, it is when restricted to elements of orderable types (for finite lists). The complexity range goes from O(n) (if the function is monotonically increasing) to O(n²) (if the function is monotonically decreasing). These are the best and worst case scenarios. We provide an alternative (mapDec) where monotonically decreasing functions are the best case scenario.

  3. map :: Primitive amp => (y0 -> y1) -> T rate amp (T y0) -> T rate amp (T y1)

    synthesizer-dimensional Synthesizer.Dimensional.Amplitude.Displacement

    No documentation available.

  4. map :: T sample0 sample1 -> T s sample0 sample1

    synthesizer-dimensional Synthesizer.Dimensional.Causal.Process

    No documentation available.

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

    LambdaHack Game.LambdaHack.Core.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]
    

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

    LambdaHack Game.LambdaHack.Core.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]
    

  7. map :: (a -> b) -> Stream a -> Stream b

    Stream Data.Stream

    Apply a function uniformly over all elements of a sequence.

  8. map :: Ix i => (Bool -> Bool) -> BitArray i -> BitArray i

    bitwise Data.Array.BitArray

    Bitwise map. Implementation lifts from Bool to Bits and maps large chunks at a time.

  9. map :: Ix i => (Bool -> Bool) -> IOBitArray i -> IO (IOBitArray i)

    bitwise Data.Array.BitArray.IO

    Bitwise map. Implementation lifts from Bool to Bits and maps large chunks at a time.

  10. map :: Ix i => (Bool -> Bool) -> STBitArray s i -> ST s (STBitArray s i)

    bitwise Data.Array.BitArray.ST

    Bitwise map. Implementation lifts from Bool to Bits and maps large chunks at a time.

Page 33 of many | Previous | Next