Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readMaybe :: Read a => String -> Maybe aincipit-base Incipit.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
-
incipit-base Incipit.String.Reexport equivalent to readsPrec with a precedence of 0.
readArray :: Text -> Text -> (Text -> Either String (a, Text)) -> Ini -> Either String [a]ini Data.Ini Read an array of values using a reader from Data.Text.Read.
readIniFile :: FilePath -> IO (Either String Ini)ini Data.Ini Parse an INI file.
readValue :: Text -> Text -> (Text -> Either String (a, Text)) -> Ini -> Either String aini Data.Ini Read a value using a reader from Data.Text.Read.
readline :: String -> IO Stringisocline System.Console.Isocline readline prompt: Read (multi-line) input from the user with rich editing abilities. Takes the prompt text as an argument. The full prompt is the combination of the given prompt and the prompt marker ("> " by default) . See also readlineEx, readlineMaybe, enableMultiline, and setPromptMarker.
-
isocline System.Console.Isocline readlineEx prompt mbCompleter mbHighlighter: as readline but uses the given mbCompleter function to complete words on tab (instead of the default completer). and the given mbHighlighter function to highlight the input (instead of the default highlighter). See also readline and readlineExMaybe.
-
isocline System.Console.Isocline As readlineEx but returns Nothing on end-of-file or other errors (ctrl-C/ctrl-D). See also readlineMaybe.
readlineMaybe :: String -> IO (Maybe String)isocline System.Console.Isocline As readline but returns Nothing on end-of-file or other errors (ctrl-C/ctrl-D).
-
isocline System.Console.Isocline readlinePrim prompt mbCompleter mbHighlighter: as readline but uses the given mbCompleter function to complete words on tab (instead of the default completer). and the given mbHighlighter function to highlight the input (instead of the default highlighter). See also readlineEx and readlinePrimMaybe.