Given a file of "some-scheme.rxt":

*********************
;#lang racket

(define a-var 'a-val)
*********************

and a program in a definitions window:

*********************
#lang racket

(define (f) (load "some-scheme.rkt"))
;(f)
*********************

... Entering (f) in the interactions window defines a-var.

If the comment is removed from ;#lang racket, a-var is not defined.  Where did 
it go?

If the comment is removed from ;(f), an 'unbound identifier' error is triggered 
during the Run. [(f) still works in the interactions window.] Which identifier 
is unbound?  

How can I explain where (load) evaluates it's contents?

Does (load) have a future in racket?

rac
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to