Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. mapTriple :: Applicative m => (a -> m d, b -> m e, c -> m f) -> (a, b, c) -> m (d, e, f)

    utility-ht Control.Applicative.HT

    No documentation available.

  2. mapFst :: Functor f => (a -> f c) -> (a, b) -> f (c, b)

    utility-ht Control.Functor.HT

    No documentation available.

  3. mapFst3 :: Functor f => (a -> f d) -> (a, b, c) -> f (d, b, c)

    utility-ht Control.Functor.HT

    No documentation available.

  4. mapSnd :: Functor f => (b -> f c) -> (a, b) -> f (a, c)

    utility-ht Control.Functor.HT

    No documentation available.

  5. mapSnd3 :: Functor f => (b -> f d) -> (a, b, c) -> f (a, d, c)

    utility-ht Control.Functor.HT

    No documentation available.

  6. mapThd3 :: Functor f => (c -> f d) -> (a, b, c) -> f (a, b, d)

    utility-ht Control.Functor.HT

    No documentation available.

  7. mapBoth :: (a -> c) -> (b -> d) -> Either a b -> Either c d

    utility-ht Data.Either.HT

    No documentation available.

  8. mapLeft :: (a -> b) -> Either a c -> Either b c

    utility-ht Data.Either.HT

    No documentation available.

  9. mapRight :: (b -> c) -> Either a b -> Either a c

    utility-ht Data.Either.HT

    No documentation available.

  10. mapAdjacent :: (a -> a -> b) -> [a] -> [b]

    utility-ht Data.List.HT

    This function combines every pair of neighbour elements in a list with a certain function.

    >>> mapAdjacent (<=) ""
    []
    
    >>> mapAdjacent (<=) "a"
    []
    
    >>> mapAdjacent (<=) "aba"
    [True,False]
    
    >>> mapAdjacent (,) "abc"
    [('a','b'),('b','c')]
    
    \x xs -> mapAdjacent subtract (scanl (+) x xs) == (xs::[Integer])
    

Page 85 of many | Previous | Next