[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Beginner Question



DrScheme does not support what you are asking for directly, but you
might consider using the stepper.

Robby

Quoting Jeffrey Edgington:
> Once a function is defined:
> 
>    (define foo (lambda (x) (* 3 x)))
> 
> How do I print what the definition of "foo" is?
> If I try:
> 
>    (display foo)
> 
> DrScheme returns:
> 
>    #procedure foo    (or something similar)
> 
> What function do I call so that I can see the text of the
> definition?
> 
> Thank you,
> 
> Jeffrey Edgington