[plt-scheme] Non-syntax-rules macros in scheme/base

From: Henk Boom (lunarc.lists at gmail.com)
Date: Sat Oct 11 22:00:20 EDT 2008

2008/10/11 Carl Eastlund <cce at ccs.neu.edu>:
> #lang scheme/base
> ;; You need to add the following line:
> (require (for-syntax scheme/base))
>
> (provide test)
>
> (define-syntax test
>  (lambda (stx)
>   #'2))
>

Thank you!

Is this because #lang scheme automatically does the require-for-syntax?

    Henk


Posted on the users mailing list.