Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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

  1. readsPrec2 :: (Read2 f, Read a, Read b) => Int -> ReadS (f a b)

    base Data.Functor.Classes

    Lift the standard readsPrec function through the type constructor.

  2. readsUnary :: Read a => String -> (a -> t) -> String -> ReadS t

    base Data.Functor.Classes

    Deprecated: Use readsUnaryWith to define liftReadsPrec

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

    base Data.Functor.Classes

    Deprecated: Use readsUnaryWith to define liftReadsPrec

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

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

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

    base Data.STRef

    Read the value of an STRef

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

    base Data.STRef.Lazy

    No documentation available.

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

    base Numeric

    Read an unsigned number in binary notation.

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

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

    base Numeric

    Read an unsigned number in decimal notation.

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

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

Page 22 of many | Previous | Next