Created
August 26, 2012 21:00
-
-
Save sofoklis/3483568 to your computer and use it in GitHub Desktop.
b_not_factor
This file contains hidden or 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 lazy val b_not_factor: Parser[Boolean] = opt("not") ~ b_factor ^^ (x ⇒ x match { case Some(v) ~ f ⇒ !f; case None ~ f ⇒ f }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment