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.
read :: forall (m :: Type -> Type) . Monad m => Unfold m ByteString Word8streamly-bytestring Streamly.External.ByteString.Lazy Deprecated: Please use reader instead.
read :: (Show a, Read a) => Key -> TomlCodec atomland 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
read :: (PrimMonad m, Unboxable a) => MVector (PrimState m) a -> Int -> m aunboxing-vector Data.Vector.Unboxing.Mutable No documentation available.
-
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
-
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
-
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
read :: ParallelInstruction -> Maybe ReadInstructiongogol-dataflow Gogol.Dataflow Additional information for Read instructions.
read :: ParallelInstruction -> Maybe ReadInstructiongogol-dataflow Gogol.Dataflow.Types Additional information for Read instructions.
read :: Device -> Int -> IO ByteStringhidapi System.HIDAPI No documentation available.
-
hybrid-vectors Data.Vector.Hybrid.Mutable Yield the element at the given position.