Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
maybeLens :: a -> Lens' a b -> Lens' (Maybe a) bcabal-debian Debian.Debianize.Prelude No documentation available.
maybeRead :: Read a => String -> Maybe acabal-debian Debian.Debianize.Prelude No documentation available.
maybeDecompress :: ByteString -> ByteStringcabal-install Distribution.Client.GZipUtils Attempts to decompress the bytes under the assumption that "data format" error at the very beginning of the stream means that it is already decompressed. Caller should make sanity checks to verify that it is not, in fact, garbage. This is to deal with http proxies that lie to us and transparently decompress without removing the content-encoding header. See: https://github.com/haskell/cabal/issues/678
maybeRepoRemote :: Repo -> Maybe RemoteRepocabal-install Distribution.Client.Types.Repo Extract RemoteRepo from Repo if remote.
maybeColor :: Handle -> [SGR] -> String -> IO Stringcabal2nix Distribution.Nixpkgs.Color If the given Handle should be colored, wrap a String in SGR codes.
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.
maybeReader :: (String -> Maybe a) -> ReadM aconfiguration-tools Configuration.Utils.CommandLine Convert a function producing a Maybe into a reader.