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.
intMapMaybe :: Int -> T (IntMap elem) (Maybe elem)data-accessor Data.Accessor.Container No documentation available.
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.
bigNatToWordMaybe# :: BigNat# -> (# (# #) | Word# #)ghc-bignum GHC.Num.BigNat Convert a BigNat into a Word# if it fits
naturalToWordMaybe# :: Natural -> (# (# #) | Word# #)ghc-bignum GHC.Num.Natural Try downcasting Natural to Word value. Returns (##) if value doesn't fit in Word.
-
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 ().
VariantClassMaybe :: VariantClassgi-glib GI.GLib.Enums The GVariant is a maybe-typed value.
variantTypeIsMaybe :: (HasCallStack, MonadIO m) => VariantType -> m Boolgi-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.
variantTypeNewMaybe :: (HasCallStack, MonadIO m) => VariantType -> m VariantTypegi-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.
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
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