[racket] Strange difference between (define (for-syntax)) and (define-for-syntax)

From: Danny Yoo (dyoo at hashcollision.org)
Date: Wed Aug 29 04:55:01 EDT 2012

On Wednesday, August 29, 2012, Dmitry Pavlov wrote:

> Hello,
>
> I just came across a strange error:
>
> #lang racket
>
> ;(require (for-syntax (only-in ffi/unsafe ctype-sizeof _pointer)))
> (require-for-syntax (only-in ffi/unsafe ctype-sizeof _pointer))
>
>
Hi Dmitry,

Is require-for-syntax even a form in #lang racket?  I thought it doesn't
exist outside the mzscheme legacy language, at least according to
http://docs.racket-lang.org/mzscheme/Old_Syntactic_Forms.html#(form._((lib._mzscheme/main..rkt)._require-for-syntax))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120829/03b92672/attachment-0001.html>

Posted on the users mailing list.