[Haskell-cafe] An irritating Parsec problem
Bryan O'Sullivan
bos at serpentine.com
Sat Nov 1 17:35:59 EDT 2008
On Wed, Oct 15, 2008 at 12:20 PM, Jonathan Cast
<jonathanccast at fastmail.fm>wrote:
> This is a bit
> easier if you supply the missing Applicative instance:
>
> const <$> parser <*> eof
>
>
Too verbose.
parser <* eof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081101/b63e590c/attachment.htm
More information about the Haskell-Cafe
mailing list