Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readWordArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)ihaskell IHaskellPrelude Read a word-sized unsigned integer; offset in machine words. Warning: this can fail with an unchecked exception.
readWordOffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)ihaskell IHaskellPrelude Read a word-sized unsigned integer; offset in machine words. On some platforms, the access may fail for an insufficiently aligned Addr#. Warning: this can fail with an unchecked exception.
readEither :: Read a => String -> Either Text aincipit-base Incipit.String.Conversion Version of readEither that returns Text in case of the parse error.
>>> readEither @Int "123" Right 123 >>> readEither @Int "aa" Left "Prelude.read: no parse"
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.
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.