1. It seems maybe you're requiring typed/racket solely as a way to get
assert? Instead I think you want to replace (require typed/racket)
with (require rackunit), and, in your tests replace (assert (equal? x
y)) with (check-equal? x y).  Note this will only print something if a
check-equal? test fails.


I think the following might be talking past the close, but:

2. If you really did want to use Typed Racket for this? Then instead
of `#lang racket` of you'd use `#lang typed/racket`. (In this case
you'd still want to use check-equal? for tests, not the `assert`
provided by typed/racket.)

3. Some lisps don't have a real module system. When you load files,
it's effectively as if the contents were "typed into the REPL" one by
one.  Although it's possible to use Racket like that -- see #lang
racket/load -- it would be a shame.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to