Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. mapPieces :: Domain o ~ Domain o' => (o -> o') -> Piecewise o -> Piecewise o'

    probability-polynomial Numeric.Function.Piecewise

    Map the objects of pieces.

  2. mapQ :: (a -> b, b -> a) -> Quantification a -> Quantification b

    quickcheck-dynamic Test.QuickCheck.DynamicLogic.Quantify

    Quantification is not a Functor, since it also keeps track of the range of the generators. However, if you have two functions to :: a -> b from :: b -> a satisfying from . to = id you can go from a quantification over a to one over b. Note that the from function need only be defined on the image of to.

  3. mapEither :: (a -> Either b c) -> Patricia a -> (Patricia b, Patricia c)

    radix-tree Data.Patricia.Word.Lazy

    Apply a function to every value in the tree and create two trees, one out of Left results and one out of Right ones.

  4. mapEitherWithKey :: (Word -> a -> Either b c) -> Patricia a -> (Patricia b, Patricia c)

    radix-tree Data.Patricia.Word.Lazy

    Apply a function to every value in the tree and create two trees, one out of Left results and one out of Right ones.

  5. mapMaybe :: (a -> Maybe b) -> Patricia a -> Patricia b

    radix-tree Data.Patricia.Word.Lazy

    Apply a function to every value in the tree and create one out of Just values.

  6. mapMaybeWithKey :: (Word -> a -> Maybe b) -> Patricia a -> Patricia b

    radix-tree Data.Patricia.Word.Lazy

    Apply a function to every value in the tree and create a tree out of Just results.

  7. mapWithKey :: (Word -> a -> b) -> Patricia a -> Patricia b

    radix-tree Data.Patricia.Word.Lazy

    Apply a function to every value in the tree.

  8. map' :: (a -> b) -> Patricia a -> Patricia b

    radix-tree Data.Patricia.Word.Strict

    Apply a function to every value in the tree. New values are evaluated to WHNF.

  9. mapEither :: (a -> Either b c) -> Patricia a -> Split b c

    radix-tree Data.Patricia.Word.Strict

    Apply a function to every value in the tree and create two trees, one out of Left results and one out of Right ones. The Either is evaluated to WHNF.

  10. mapEitherWithKey :: (Word -> a -> Either b c) -> Patricia a -> Split b c

    radix-tree Data.Patricia.Word.Strict

    Apply a function to every value in the tree and create two trees, one out of Left results and one out of Right ones. The Either is evaluated to WHNF.

Page 354 of many | Previous | Next