Note: I'm migrating this issue here from the pipes package.
Kai Wang requested this on the haskell-pipes mailing list:
One suggestion I have is to include concrete, complete and non-trivial example programs to compliment the tutorial.
attoparsec comes with a simple http parser. the example program did several things: 1) it showcases idiomatic usage, without which I would have to learn (<) and (>) the hard way. 2) it provides a comparison to alternatives. (the example program also includes implementations in C and parsec).
I think pipes should do similar thing. Example program doesn't have to be long or complicated. but it should demonstrates common usage patterns.
We discussed this on the mailing list and the plan is to include at least three examples, one contributed by me, one by Renzo, and another by any other regular pipes contributor. These longer form examples will show users more sophisticated examples that don't fit within a tutorial.
Note: I'm migrating this issue here from the
pipes
package.Kai Wang requested this on the haskell-pipes mailing list:
We discussed this on the mailing list and the plan is to include at least three examples, one contributed by me, one by Renzo, and another by any other regular
pipes
contributor. These longer form examples will show users more sophisticated examples that don't fit within a tutorial.