]> git.immae.eu Git - github/fretlink/text-pipes.git/commit
Fixed `scan`
authorGabriel Gonzalez <Gabriel439@gmail.com>
Fri, 7 Feb 2014 15:08:47 +0000 (22:08 +0700)
committerGabriel Gonzalez <Gabriel439@gmail.com>
Fri, 7 Feb 2014 15:09:38 +0000 (22:09 +0700)
commit11645cdce20ff843caf8b53f82f2c32050fdd1fd
tree70ad8ff9afa81b17671bbe1ea4abce32aed06be4
parentca7b86be9116503f9ecc176b45bb3c695dc94b73
Fixed `scan`

The first `Char` of each output chunk is redundant (since it would have been
emitted by the previous chunk).  This removes the duplicate `Char`s.

Note that this bug was present in `pipes-bytestring` as well, and I fixed it
there, too.
Pipes/Text.hs