Hoogle Search
Within LTS Haskell 22.26 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readMaybe :: Read a => String -> Maybe abase Text.Read Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
safeRead :: Read a => String -> Maybe atasty Test.Tasty.Options Safe read function. Defined here for convenience to use for parseValue.
readMaybe :: Read a => String -> Maybe abase-compat Text.Read.Compat Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
maybeRead :: Read a => String -> Maybe autility-ht Text.Read.HT No documentation available.
readMay :: Read a => String -> Maybe asafe Safe No documentation available.
readMaybe :: Read a => String -> Maybe ario RIO.Prelude Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
readMay :: Read a => String -> Maybe aerrors Control.Error No documentation available.
readMaybe :: Read a => String -> Maybe arelude Relude.String.Reexport Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
readMaybe :: Read a => String -> Maybe aCabal-syntax Distribution.Compat.Prelude Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
maybeRead :: Read a => String -> Maybe aghc-lib-parser GHC.Settings.Utils No documentation available.
Page 1 of many | Next