pprint-coalton-codegen-types pretty-prints the output of coalton-codegen-types.

Syntax

(pprint-coalton-codegen-types
  form ...)

Semantics

  • It shows generated Lisp together with emitted host type declarations.
  • This is useful when checking whether Coalton is emitting the declarations you expect.

Example

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