Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Qualify read in example

  • Loading branch information...
commit 5cec81e00905912d662d57e20c707e2c0c8fa55f 1 parent 912fdd3
@gregorycollins gregorycollins authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 blogdata/content/2013/03/05/announcing-io-streams.md
View
6 blogdata/content/2013/03/05/announcing-io-streams.md
@@ -37,11 +37,11 @@ Stream composition leaves the original stream accessible:
~~~~~~~~~~ {.sourceCode}
ghci> input <- Streams.fromByteString "long string"
ghci> wrapped <- Streams.takeBytes 4 input
-ghci> read wrapped
+ghci> Streams.read wrapped
Just "long"
-ghci> read wrapped
+ghci> Streams.read wrapped
Nothing
-ghci> read input
+ghci> Streams.read input
Just " string"
~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.