diff options
Diffstat (limited to 'dev-haskell/io-streams/metadata.xml')
-rw-r--r-- | dev-haskell/io-streams/metadata.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-haskell/io-streams/metadata.xml b/dev-haskell/io-streams/metadata.xml index a86f42647c54..307b43967abb 100644 --- a/dev-haskell/io-streams/metadata.xml +++ b/dev-haskell/io-streams/metadata.xml @@ -14,7 +14,7 @@ The io-streams library contains simple and easy-to-use primitives for I/O using streams. Most users will want to import the top-level convenience - module "System.IO.Streams", which re-exports most of the library: + module "System.IO.Streams", which re-exports most of the library: @ import System.IO.Streams (InputStream, OutputStream) @@ -22,7 +22,7 @@ @ For first-time users, @io-streams@ comes with an included tutorial, which can - be found in the "System.IO.Streams.Tutorial" module. + be found in the "System.IO.Streams.Tutorial" module. /Features/ @@ -50,19 +50,19 @@ Stream composition leaves the original stream accessible: @ - ghci> input \<- Streams.fromByteString \"long string\" + ghci> input \<- Streams.fromByteString \"long string\" ghci> wrapped \<- Streams.takeBytes 4 input ghci> Streams.read wrapped - Just \"long\" + Just \"long\" ghci> Streams.read wrapped Nothing ghci> Streams.read input - Just \" string\" + Just \" string\" @ Simple types and operations in the IO monad mean straightforward and simple exception handling and resource cleanup using Haskell standard library - facilities like 'Control.Exception.bracket'. + facilities like 'Control.Exception.bracket'. @io-streams@ comes with: |