pprint-coalton-codegen is the readable-display wrapper around coalton-codegen.

Syntax

(pprint-coalton-codegen
  form ...)

Semantics

  • It pretty-prints generated Lisp to standard output.
  • It temporarily imports the current package’s symbols into a helper package so the printed output is easier to read.
  • Use it when raw generated forms are too noisy to inspect directly.

Example

(pprint-coalton-codegen
  (define (double x)
    (+ x x)))