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.

  1. readonly :: Name -> Text -> (Pusher e b, a -> b) -> Member e fn a

    hslua-objectorientation HsLua.ObjectOrientation

    Creates a read-only object property. Attempts to set the value will cause an error.

  2. readonly' :: Name -> TypeSpec -> Text -> (Pusher e b, a -> b) -> Member e fn a

    hslua-objectorientation HsLua.ObjectOrientation

    Creates a read-only object property. Attempts to set the value will cause an error.

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

    katip Katip.Core

    No documentation available.

  4. reading :: forall (k :: Type -> Type -> Type) a . (Category k, Read a) => Machine (k String) a

    machines Data.Machine.Process

    Parse Readable values, only emitting the value if the parse succceeds. This Machine stops at first parsing error

  5. 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
    

  6. 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.

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

  8. 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.

  9. readLn :: Read a => IO a

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    The readLn function combines getLine and readIO.

  10. 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.

Page 239 of many | Previous | Next