Welcome to the CHICKEN Scheme pasting service

Would it be possible to get an environment with no user defined bindings? pasted by arthurmaciel on Wed Jun 24 02:44:36 2015

(module w
 (result)
 (import scheme chicken)

 (define h "hello")
 (define result (eval `(lambda () ,h) (module-environment 'scheme)))
)

(result) => "hello"

Should be unbound variable h

Second try added by arthurmaciel on Wed Jun 24 02:50:20 2015

(module w
 (result)
 
 (import scheme chicken)

 (define h "hello")
 (define result (eval '(lambda () h) (module-environment 'scheme)))
)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV