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.

  1. readMaybe :: Read a => String -> Maybe a

    base 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
    

  2. safeRead :: Read a => String -> Maybe a

    tasty Test.Tasty.Options

    Safe read function. Defined here for convenience to use for parseValue.

  3. readMaybe :: Read a => String -> Maybe a

    base-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
    

  4. maybeRead :: Read a => String -> Maybe a

    utility-ht Text.Read.HT

    No documentation available.

  5. readMay :: Read a => String -> Maybe a

    safe Safe

    No documentation available.

  6. readMaybe :: Read a => String -> Maybe a

    rio 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
    

  7. readMay :: Read a => String -> Maybe a

    errors Control.Error

    No documentation available.

  8. readMaybe :: Read a => String -> Maybe a

    relude 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
    

  9. readMaybe :: Read a => String -> Maybe a

    Cabal-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
    

  10. maybeRead :: Read a => String -> Maybe a

    ghc-lib-parser GHC.Settings.Utils

    No documentation available.

Page 1 of many | Next