On Mon, Nov 29, 2010 at 3:20 PM, [email protected] <[email protected]> wrote:
>> Check out the `racket/load' language for exactly this purpose.
>
> Sorry I don't get it - is there a way I could use it to have both struct: and 
> not get the syntax error?
> I've tried (without really understanding the chapter in the reference, I must 
> admit)

No, `racket/load' is for writing quick programs that are like the top-level:

#lang racket/load

(module m racket
  (define x 1)
  (provide x))

(module m2 racket
   (require 'm)
   (+ 2 x))

(require 'm2)

-- 
sam th
[email protected]
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to