Scala implementation of partial evaluators from the book "Partial Evaluation and Automatic Program Generation"