[racket] recommendations how to use Typed Racket with rackunit?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Nov 29 20:47:43 EST 2010

On Mon, Nov 29, 2010 at 3:20 PM, keydana at gmx.de <keydana at gmx.de> 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
samth at ccs.neu.edu


Posted on the users mailing list.