Skip to content

Instantly share code, notes, and snippets.

@missingfaktor
Created March 16, 2012 10:04
Show Gist options
  • Select an option

  • Save missingfaktor/2049392 to your computer and use it in GitHub Desktop.

Select an option

Save missingfaktor/2049392 to your computer and use it in GitHub Desktop.
trait Expr[+A] { a =>
def eval(st: SymbolTable): A
def op[B, C](b: Expr[B]): Expr[C] = /* impl */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment