Created
February 10, 2009 18:22
-
-
Save okomok/61514 to your computer and use it in GitHub Desktop.
old plus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private[mada] class PlusPeg[A](p: Peg[A]) extends PegProxy[A] with Reluctant[A] { | |
override val self = p >> p.* | |
override def before(that: Peg[A]) = p >> (p.* before that) | |
override def until(that: Peg[A]) = p >> (p.* until that) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment