Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
decodeMaybeOf :: Typeable a => Typed (Decoder a -> Decoder (Maybe a))registry-aeson Data.Registry.Aeson.Decoder Add a Maybe (Decoder a) to a registry of decoders usage: decoders = decodeMaybeOf @a <: otherDecoders the list of otherDecoders must contain a Decoder a otherwise there will be a compilation error
encodeMaybeOf :: Typeable a => Typed (Encoder a -> Encoder (Maybe a))registry-aeson Data.Registry.Aeson.Encoder Create an Encoder for a (Maybe a)
arithMaybeD :: forall r (s :: Nat) p . Arith (Decimal r s p) -> Maybe (Decimal r s p)safe-decimal Numeric.Decimal A version of arithD that converts to Maybe
>>> import Numeric.Decimal >>> :set -XTypeApplications >>> arithMaybeD @RoundDown @3 @Word (1.1 + 123) Just 124.100 >>> arithMaybeD @RoundDown @3 @Word (1.1 - 123) Nothing
arithMaybe :: Arith a -> Maybe asafe-decimal Numeric.Decimal.BoundedArithmetic parseMaybe :: (a -> Parser b) -> a -> Maybe bsafe-json Data.Aeson.Safe elmListOfMaybes :: [Doc] -> Docservant-elm Servant.Elm.Internal.Generate No documentation available.
isElmListOfMaybeBoolType :: EType -> Boolservant-elm Servant.Elm.Internal.Generate No documentation available.
isElmMaybeStringType :: ElmOptions -> EType -> Boolservant-elm Servant.Elm.Internal.Generate Determines whether a type is 'Maybe a' where a is something akin to a String.
isElmMaybeType :: EType -> Boolservant-elm Servant.Elm.Internal.Generate No documentation available.
parseMaybe :: (Ord e, Stream s) => Parsec e s a -> s -> Maybe ashellwords Text.Megaparsec.Compat parseMaybe p input runs the parser p on input and returns the result inside Just on success and Nothing on failure. This function also parses eof, so if the parser doesn't consume all of its input, it will fail. The function is supposed to be useful for lightweight parsing, where error messages (and thus file names) are not important and entire input should be consumed. For example, it can be used for parsing of a single number according to a specification of its format.