Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. read :: forall (m :: Type -> Type) . Monad m => Unfold m ByteString Word8

    streamly-bytestring Streamly.External.ByteString.Lazy

    Deprecated: Please use reader instead.

  2. read :: (Show a, Read a) => Key -> TomlCodec a

    tomland Toml.Codec.Combinator.Custom

    Codec for values with a Read and Show instance. Example: We have the following type that represents the image format:

    data Format
    = Jpeg
    | Png
    | Gif
    deriving (Show, Read, Enum)
    
    And we want to be able to decode and encode this data type through the Show and Read instances. To write the codec for Format data type using the existing instances we can use read combinator. And now with the Toml.read "foo" we can have the following line in our TOML perfectly encoded:
    foo = Gif
    
    But the foo = ".gif" will lead to the following error:
    tomland decode error:  Prelude.read: no parse
    

  3. read :: (PrimMonad m, Unboxable a) => MVector (PrimState m) a -> Int -> m a

    unboxing-vector Data.Vector.Unboxing.Mutable

    No documentation available.

  4. read :: Read a => String -> a

    constrained-categories Control.Category.Constrained.Prelude

    The read function reads input from a string, which must be completely consumed by the input process. read fails with an error if the parse is unsuccessful, and it is therefore discouraged from being used in real applications. Use readMaybe or readEither for safe alternatives.

    >>> read "123" :: Int
    123
    
    >>> read "hello" :: Int
    *** Exception: Prelude.read: no parse
    

  5. read :: Read a => String -> a

    constrained-categories Control.Category.Hask

    The read function reads input from a string, which must be completely consumed by the input process. read fails with an error if the parse is unsuccessful, and it is therefore discouraged from being used in real applications. Use readMaybe or readEither for safe alternatives.

    >>> read "123" :: Int
    123
    
    >>> read "hello" :: Int
    *** Exception: Prelude.read: no parse
    

  6. read :: Read a => String -> a

    copilot-language Copilot.Language.Prelude

    The read function reads input from a string, which must be completely consumed by the input process. read fails with an error if the parse is unsuccessful, and it is therefore discouraged from being used in real applications. Use readMaybe or readEither for safe alternatives.

    >>> read "123" :: Int
    123
    
    >>> read "hello" :: Int
    *** Exception: Prelude.read: no parse
    

  7. read :: ParallelInstruction -> Maybe ReadInstruction

    gogol-dataflow Gogol.Dataflow

    Additional information for Read instructions.

  8. read :: ParallelInstruction -> Maybe ReadInstruction

    gogol-dataflow Gogol.Dataflow.Types

    Additional information for Read instructions.

  9. read :: Device -> Int -> IO ByteString

    hidapi System.HIDAPI

    No documentation available.

  10. read :: forall m (u :: Type -> Type -> Type) a (v :: Type -> Type -> Type) b . (PrimMonad m, MVector u a, MVector v b) => MVector u v (PrimState m) (a, b) -> Int -> m (a, b)

    hybrid-vectors Data.Vector.Hybrid.Mutable

    Yield the element at the given position.

Page 11 of many | Previous | Next