Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. intMapMaybe :: Int -> T (IntMap elem) (Maybe elem)

    data-accessor Data.Accessor.Container

    No documentation available.

  2. mapMaybe :: Ord key => key -> T (Map key elem) (Maybe elem)

    data-accessor Data.Accessor.Container

    Treats a finite map like an infinite map, where all undefined elements are Nothing and defined elements are Just.

  3. bigNatToWordMaybe# :: BigNat# -> (# (# #) | Word# #)

    ghc-bignum GHC.Num.BigNat

    Convert a BigNat into a Word# if it fits

  4. naturalToWordMaybe# :: Natural -> (# (# #) | Word# #)

    ghc-bignum GHC.Num.Natural

    Try downcasting Natural to Word value. Returns (##) if value doesn't fit in Word.

  5. withNewWordArrayTrimmedMaybe# :: Int# -> (MutableWordArray# RealWorld -> State# RealWorld -> (# State# RealWorld, Bool# #)) -> (# (# #) | WordArray# #)

    ghc-bignum GHC.Num.WordArray

    Create a new WordArray# of the given size (*in Word#*), apply the action to it. If the action returns true#, trim its most significant zeroes, then return it frozen. Otherwise, return ().

  6. VariantClassMaybe :: VariantClass

    gi-glib GI.GLib.Enums

    The GVariant is a maybe-typed value.

  7. variantTypeIsMaybe :: (HasCallStack, MonadIO m) => VariantType -> m Bool

    gi-glib GI.GLib.Structs.VariantType

    Determines if the given type is a maybe type. This is true if the type string for type starts with an 'm'. This function returns True for any indefinite type for which every definite subtype is a maybe type -- G_VARIANT_TYPE_MAYBE, for example.

  8. variantTypeNewMaybe :: (HasCallStack, MonadIO m) => VariantType -> m VariantType

    gi-glib GI.GLib.Structs.VariantType

    Constructs the type corresponding to a maybe instance containing type type or Nothing. It is appropriate to call variantTypeFree on the return value.

  9. contramapMaybe :: (a -> Maybe b) -> OutputStream b -> IO (OutputStream a)

    io-streams System.IO.Streams.Combinators

    Contravariant counterpart to contramapMaybe. contramap f s passes all input to s through the function f. Discards all the elements for which f returns Nothing. Since: 1.2.1.0

  10. mapMaybe :: (a -> Maybe b) -> InputStream a -> IO (InputStream b)

    io-streams System.IO.Streams.Combinators

    A version of map that discards elements mapMaybe f s passes all output from s through the function f and discards elements for which f s evaluates to Nothing. Example:

    ghci> Streams.fromList [Just 1, None, Just 3] >>=
    Streams.mapMaybe id >>=
    Streams.toList
    [1,3]
    
    Since: 1.2.1.0

Page 156 of many | Previous | Next