18 Feb
2004
18 Feb
'04
1:45 p.m.
On Wed, 18 Feb 2004 01:11:31 -0500, Andrew Pimlott <andrew@pimlott.net> wrote:
After some pondering and fiddling, a version I like:
notFollowedBy' :: Show a => GenParser tok st a -> GenParser tok st () notFollowedBy' p = join $ do a <- try p; return (unexpected (show a)) <|> return (return ())
Great work. Do you think that the library function should be fixed with this version? (or can you check it in yourself?) -- Daan.
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell