Wed Sep 5 02:31:51 PDT 2007 [EMAIL PROTECTED]
* Combinator `apply` is now promoted to a class method.
Apply is basic, because its implementation depends on whether the
underlying parser type is supposed to be lazy or strict. Many of the
higher-level combinators in T.P.P.Base are now expressed in terms of
`apply`, which removes code duplication in the T.P.P.Lazy module. In
exchange, `failBad` moves out of the class, because it is always just
(commit . fail).
M ./src/Text/ParserCombinators/Poly/Base.hs -29 +32
M ./src/Text/ParserCombinators/Poly/ByteString.hs -1
M ./src/Text/ParserCombinators/Poly/Lazy.hs -86 +13
M ./src/Text/ParserCombinators/Poly/Plain.hs -1
M ./src/Text/ParserCombinators/Poly/State.hs -1
M ./src/Text/ParserCombinators/Poly/StateLazy.hs -2 +8
M ./src/Text/ParserCombinators/Poly/Stream.hs -1
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries