[racket] scoping rules and define-for-syntax
On Jul 24, Shriram Krishnamurthi wrote:
> [...]
>
> This, however, is just an illustrative simplification of my real
> program, which has non-trivial mutually-referential functions. The
> only solution I have is effectively
>
> (define-for-syntax (shell e)
>
> (define (f1 e) ...)
> (define (f3 e) ...)
>
> (f3 e))
>
> which works, but is pretty unsatisfactory.
(See also PR7104 -- it was an issue in the ffi code, which I worked
around with a parameter...)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!