Quasiquotes - Hygiene - Scala Documentation

Denys Shabalin, Eugene Burmako EXPERIMENTAL

The notion of hygiene has been widely popularized by macro research in Scheme. A code generator is called hygienic if it ensures the absence of name clashes between regular and generated code, preventing accidental capture of identifiers. As numerous experience reports show, hygiene is of great importance to code generation, because name binding problems are often non-obvious and lack of hygiene might manifest itself in subtle ways.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/quasiquotes/hygiene.html