Skip to content

Commit 00dadd9

Browse files
Remove to pipe
1 parent e360384 commit 00dadd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/source_md/input-and-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ palindrome
882882
palindrome
883883
```
884884

885-
Again, we get the same output as if we had run the program and typed the words ourselves at the standard input. The difference is that we don’t see the input, because it was piped into `palindromes.hs` from a file rather than entered directly at the keyboard.
885+
Again, we get the same output as if we had run the program and typed the words ourselves at standard input. The difference is that we don’t see the input, because it was provided to `palindromes.hs` from a file rather than entered directly at the keyboard.
886886

887887
So now you probably see how lazy I/O works and how we can use it to our advantage.
888888
You can just think in terms of what the output is supposed to be for some given input and write a function to do that transformation.

0 commit comments

Comments
 (0)