Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
maybeBuildTopEntity :: Maybe String -> Name -> Q (TExp (Maybe TopEntity))clash-prelude Clash.Annotations.TH Return a typed 'Maybe TopEntity' expression given a Name. This will return an TExp of Nothing if TopEntity generation failed.
maybeHasX :: (NFData a, NFDataX a) => a -> Maybe aclash-prelude Clash.XException Fully evaluate a value, returning Nothing if it throws XException. Note that non-XException errors take precedence over XException ones.
maybeHasX 42 = Just 42 maybeHasX (XException msg) = Nothing maybeHasX (3, XException msg) = Nothing maybeHasX (XException msg, _|_) = _|_ maybeHasX (_|_, XException msg) = _|_ maybeHasX (3, _|_) = _|_ maybeHasX _|_ = _|_
-
clash-prelude Clash.XException Evaluate a value to WHNF, returning Nothing if it throws XException.
maybeIsX 42 = Just 42 maybeIsX (XException msg) = Nothing maybeIsX (3, XException msg) = Just (3, XException msg) maybeIsX (3, _|_) = Just (3, _|_) maybeIsX _|_ = _|_
maybeX :: (String -> b) -> (a -> b) -> MaybeX a -> bclash-prelude Clash.XException.MaybeX Map functions over both constructors.
-
classy-prelude-conduit ClassyPrelude.Conduit Wrap the base monad in MaybeT Since 1.0.11
maybeRecount :: (Countable a, Countable b) => a -> Maybe bcountable Data.Countable No documentation available.
maybeDeserialized :: Deserialized α -> Maybe αdata-serializer Data.Deserializer Map Deserialized values to Just and Malformed to Nothing.
maybeParsed :: Parsed α -> Maybe αdata-textual Data.Textual maybePrint :: (Printer p, Printable α) => Maybe α -> pdata-textual Data.Textual maybeToEither :: b -> Maybe a -> Either b adbus-hslogger System.Log.DBus.Server No documentation available.