Skip to content

Commit 1973127

Browse files
chessaiandrewthad
authored andcommitted
fix readFile doc
1 parent 2f2175b commit 1973127

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Streaming/Prelude.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@ stdoutLn = loop
23732373
>>> S.writeFile "lines.txt" $ S.take 2 S.stdinLn
23742374
hello<Enter>
23752375
world<Enter>
2376-
>>> S.print $ S.readFile "lines.txt"
2376+
>>> S.readFile "lines.txt" S.print
23772377
"hello"
23782378
"world"
23792379

0 commit comments

Comments
 (0)