Snippets tagged traversal

  • Traverse quotation

    Shows how to use the 'ExprShape' module to recursively traverse an entire quotation and how to write quotation transformations. As an example, the snippet replaces all numeric constants in the quotation and then runs the transformed code.

    26 people like this

    Posted: 14 years ago by Tomas Petricek