Skip to content

Instantly share code, notes, and snippets.

@qharlie
Created January 6, 2014 15:01
Show Gist options
  • Save qharlie/8283987 to your computer and use it in GitHub Desktop.
Save qharlie/8283987 to your computer and use it in GitHub Desktop.
def mod: Parser[String] = "model" ~ ident ^^ ident.toString()
scala: type mismatch;
found : String
required: ModelCombinator.this.~[String,String] => String
def mod: Parser[String] = "model" ~ ident ^^ ident.toString()
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment