[plt-scheme] Using stepper

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Fri Feb 13 16:42:14 EST 2009

aditya shukla wrote:
> I am trying to use stepper to see how the code works , i am in 
> interactive student with lambda language and i have made a file eg1.ss
>  define g (lambda(x)(+ x 1))) .When i open it in stepper and click on 
> step nothing  except i just get All of the definitions have been 
> successfully evaluated.This is maybe a very silly question but any help 
> is appreciated.

This program doesn't do any computation, it only names a value, so there 
are no steps to be made.  Try using g to see some computation:

(define g (lambda (x) (+ x 1))
g
(g 6)
(+ (g 2) (g 3))

David



Posted on the users mailing list.