Skip to content

Instantly share code, notes, and snippets.

@joshcough
Created November 5, 2013 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshcough/7326312 to your computer and use it in GitHub Desktop.
Save joshcough/7326312 to your computer and use it in GitHub Desktop.
lazy val setOp = rawWord("UNION") | rawWord("INTERSECT") | rawWord("MINUS")
lazy val simpleSetRule = setReference // characteristicRule | setReference | "(" , Set Rule , ")" ;
lazy val setRule = for {
s1 <- simpleSetRule
op <- setOp
//s2 <- simpleSetRule
} yield (s1, op)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment