Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. mapMaybe :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> Maybe b) -> t m a -> t m b

    streamly Streamly.Prelude

    Map a Maybe returning function to a stream, filter out the Nothing elements, and return a stream of values extracted from Just. Equivalent to:

    mapMaybe f = Stream.map fromJust . Stream.filter isJust . Stream.map f
    

  2. mapMaybeM :: (IsStream t, MonadAsync m, Functor (t m)) => (a -> m (Maybe b)) -> t m a -> t m b

    streamly Streamly.Prelude

    Like mapMaybe but maps a monadic function. Equivalent to:

    mapMaybeM f = Stream.map fromJust . Stream.filter isJust . Stream.mapM f
    
    Concurrent (do not use with fromParallel on infinite streams)

  3. mapMaybe :: (a -> Maybe b) -> [a] -> [b]

    strict-base-types Data.Maybe.Strict

    Analogous to mapMaybe in Data.Maybe.

  4. maps :: StringPrepProfile -> [Map]

    stringprep Text.StringPrep

    No documentation available.

  5. mapNumber :: (Double -> Double) -> Number -> Number

    svg-tree Graphics.Svg.CssTypes

    Helper function to modify inner value of a number

  6. mapNumber :: (Double -> Double) -> Number -> Number

    svg-tree Graphics.Svg.Types

    Helper function to modify inner value of a number

  7. mapTree :: (Tree -> Tree) -> Tree -> Tree

    svg-tree Graphics.Svg.Types

    Helper function mapping every tree element.

  8. mapL2V :: DatatypeMap vt -> Text -> Maybe vt

    swish Swish.Datatype

    Function to map a lexical string to the datatype value. This effectively defines the lexical space of the datatype to be all strings for which yield a value other than Nothing.

  9. mapV2L :: DatatypeMap vt -> vt -> Maybe Text

    swish Swish.Datatype

    Function to map a value to its canonical lexical form, if it has such.

  10. mapLabelIndex :: Label lb => LabelMap lb -> lb -> LabelIndex

    swish Swish.GraphMatch

    Map a label to its corresponding label index value in the supplied LabelMap.

Page 322 of many | Previous | Next