Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. readRational :: String -> Maybe Rational

    foundation Foundation.String.Read

    Try to read a floating number as a Rational Note that for safety reason, only exponent between -10000 and 10000 is allowed as otherwise DoS/OOM is very likely. if you don't want this behavior, switching to a scientific type (not provided yet) that represent the exponent separately is the advised solution.

  2. readPrec1 :: (Read1 f, Read a) => ReadPrec (f a)

    generic-data Generic.Data.Internal.Compat

    Lift the standard readPrec and readListPrec functions through the type constructor.

  3. readPrefixCon :: String -> ReadPrec ()

    generic-data Generic.Data.Internal.Read

    No documentation available.

  4. readSurround :: Char -> ReadPrec a -> Char -> ReadPrec a

    generic-data Generic.Data.Internal.Read

    No documentation available.

  5. reader :: Reader IPv4

    ip Net.IPv4

    Parse an IPv4 address using a Reader.

    >>> IPv4.reader "192.168.2.47"
    Right (ipv4 192 168 2 47,"")
    
    >>> IPv4.reader "192.168.2.470"
    Left "All octets in an IPv4 address must be between 0 and 255"
    

  6. readHostPort :: String -> Host

    mongoDB Database.MongoDB.Connection

    Read string "hostname:port" as Host hostname (PortNumber port) or "hostname" as host hostname (default port). Error if string does not match either syntax.

  7. readHostPortM :: MonadFail m => String -> m Host

    mongoDB Database.MongoDB.Connection

    Read string "hostname:port" as Host hosthame (PortNumber port) or "hostname" as host hostname (default port). Fail if string does not match either syntax.

  8. readRef :: (MutableRef c, PrimMonad m, PrimState m ~ MCState c) => c -> m (RefElement c)

    mutable-containers Data.Mutable

    Read the current value in the mutable reference. Since 0.2.0

  9. read16 :: Readable a => a -> IO Word16

    network-byte-order Network.ByteOrder

    Reading two bytes as Word16 and ff two bytes.

    >>> withReadBuffer "\x0\x1\x2\x3" $ read16
    1
    

  10. read24 :: Readable a => a -> IO Word32

    network-byte-order Network.ByteOrder

    Reading three bytes as Word32 and ff three bytes.

    >>> withReadBuffer "\x0\x1\x2\x3" $ read24
    258
    

Page 224 of many | Previous | Next