[racket] require error
Just now, Eli Barzilay wrote:
> A few minutes ago, Marco Morazan wrote:
> > Throws the following error: #%module-begin: bad syntax in:
> > (#%module-begin (#%require racket/base) (#%require "green.rkt")
> > (define-values (numfs) numfuncts) (define-values (crazy) (lambda
> > (x) (#%app * dummy x))) (define-values (f) (lambda (x) (#%app
> > build-vector (quote 10) (lambda (i) (#%app * i x))))))
>
> (This is not a good idea because of the above, but in any case I
> tried it and still don't see that error.)
On second thought, I should have known where to look... I get this
error only when I run the code in drr, with debugging on. At that
point you have a mix of `mzscheme' with `racket/base' on top and
errortrace hammers the mix.
(Maybe something in errortrace is assuming `racket/base'-ism?)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!