[gambit-list] Thinking of changing pp

hrapof at common-lisp.ru hrapof at common-lisp.ru
Sun Jun 1 15:34:42 EDT 2008


Цитирую Marc Feeley <feeley at iro.umontreal.ca>:

> (define (square x)
>    (pp x result: (* x x)))
>
> and get as output:
>
> x: 10
> result: 100

In Common Lisp I'd turned on tracing for SQUARE, which prints function  
arguments and results.
I'm not much of a Gambit user, so I don't know whether TRACE machinery  
is in place; if not, it'd be worth-while to add it.

Cheers,
Dmitri




More information about the Gambit-list mailing list