
2 Dec
2006
2 Dec
'06
2:49 a.m.
Text.ParserCombinators.ReadP.(+++) :: ReadP a -> ReadP a -> ReadP a
Wow, fast and complete, Thanks Don! :) Would it make sense to derive instances of Applicable and Alternative for ReadP? Something like this maybe: instance Applicative ReadP where pure = return (<*>) = ap instance Alternative ReadP where empty = pfail (<|>) = (<++) Thanks, Greg