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.

  1. readFloatingPoint :: Integral a => String -> Ratio a

    matrix-as-xyz Data.Ratio.ParseFloat

    Obtain fractions from floating point representation string

    >>> readFloatingPoint "1.1"
    11 % 10
    
    >>> readFloatingPoint "0.5"
    1 % 2
    
    >>> readFloatingPoint ".5"
    1 % 2
    
    >>> readFloatingPoint "10."
    10 % 1
    
    >>> readFloatingPoint "10"
    10 % 1
    
    >>> readFloatingPoint "10.2"
    51 % 5
    
    >>> readFloatingPoint "1e-1"
    1 % 10
    
    >>> readFloatingPoint "-0.5e-1"
    (-1) % 20
    
    >>> readFloatingPoint "5e2"
    500 % 1
    
    >>> readFloatingPoint "5e+2"
    500 % 1
    

  2. readFile :: FilePath -> IO String

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  3. readIO :: Read a => String -> IO a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.

  4. readList :: Read a => ReadS [a]

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.

  5. readLn :: Read a => IO a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    The readLn function combines getLine and readIO.

  6. readParen :: Bool -> ReadS a -> ReadS a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.

  7. reads :: Read a => ReadS a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    equivalent to readsPrec with a precedence of 0.

  8. readsPrec :: Read a => Int -> ReadS a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    attempts to parse a value from the front of the string, returning a list of (parsed value, remaining string) pairs. If there is no successful parse, the returned list is empty. Derived instances of Read and Show satisfy the following:

    That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.

  9. readSomeMessage :: MonadIO m => TQueue SomeMessage -> m SomeMessage

    nvim-hs Neovim.Plugin.IPC.Classes

    No documentation available.

  10. readStream :: InputStream ByteString -> Int64 -> IO Stream

    pdf-toolbox-core Pdf.Core.Stream

    Read Stream from stream We need to pass current position here to calculate stream data offset

Page 238 of many | Previous | Next