Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readsUnary1 :: (Read1 f, Read a) => String -> (f a -> t) -> String -> ReadS t

    base Data.Functor.Classes

    Deprecated: Use readsUnaryWith to define liftReadsPrec

  2. readsUnaryWith :: (Int -> ReadS a) -> String -> (a -> t) -> String -> ReadS t

    base Data.Functor.Classes

    readsUnaryWith rp n c n' matches the name of a unary data constructor and then parses its argument using rp.

  3. readIORef :: IORef a -> IO a

    base Data.IORef

    Read the value of an IORef. Beware that the CPU executing a thread can reorder reads or writes to independent locations. See Data.IORef#memmodel for more details.

  4. readSTRef :: STRef s a -> ST s a

    base Data.STRef

    Read the value of an STRef

  5. readSTRef :: STRef s a -> ST s a

    base Data.STRef.Lazy

    No documentation available.

  6. readBin :: (Eq a, Num a) => ReadS a

    base Numeric

    Read an unsigned number in binary notation.

    >>> readBin "10011"
    [(19,"")]
    

  7. readDec :: (Eq a, Num a) => ReadS a

    base Numeric

    Read an unsigned number in decimal notation.

    >>> readDec "0644"
    [(644,"")]
    

  8. readFloat :: RealFrac a => ReadS a

    base Numeric

    Reads an unsigned RealFrac value, expressed in decimal scientific notation. Note that this function takes time linear in the magnitude of its input which can scale exponentially with input size (e.g. "1e100000000" is a very large number while having a very small textual form). For this reason, users should take care to avoid using this function on untrusted input. Users needing to parse floating point values (e.g. Float) are encouraged to instead use read, which does not suffer from this issue.

  9. readHex :: (Eq a, Num a) => ReadS a

    base Numeric

    Read an unsigned number in hexadecimal notation. Both upper or lower case letters are allowed.

    >>> readHex "deadbeef"
    [(3735928559,"")]
    

  10. readInt :: Num a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a

    base Numeric

    Reads an unsigned integral value in an arbitrary base.

Page 22 of many | Previous | Next