[Haskell-cafe] Using IsString with attoparsec
Felipe Almeida Lessa
felipe.lessa at gmail.com
Fri Jan 28 18:12:40 CET 2011
On Wed, Jan 26, 2011 at 7:43 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> On Tue, Jan 25, 2011 at 5:16 AM, Yitzchak Gale <gale at sefer.org> wrote:
>> I suggest adding the following type-specialized variants to
>> (<*.) :: Applicative f => f a -> f ByteString -> f a
>> (<*.) = (<*)
>> (.*>) :: Applicative f => f ByteString -> f a -> f a
>> (.*>) = (*>)
> Sounds reasonable. Send a patch?
Done! It will be in attoparsec-text 0.8.2.0.
Bryan, I don't know how to give you a patch using Mercurial, so I've
used 'hg export -r 231 -o ../attoparsec_applicative.hg_export'. The
patch is basically the same as attoparsec-text's.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1906 bytes
Desc: not available
More information about the Haskell-Cafe