Thanks.
Your answer clarifies my brain.
Jos
_
From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com]
On Behalf Of Alexander D. Knauth
Sent: sábado, 23 de mayo de 2015 20:06
To: Jos Koot
Cc: Racket-Users List
Subject: Re: [racket-users] racket versus racket/base
It
It sounds to me like you're understanding this perfectly.
racket provides all of racket/base for-syntax.
On May 23, 2015, at 1:52 PM, Jos Koot wrote:
> This works:
>
> #lang racket
> (define-syntax (x y) (syntax-case y () (_ (syntax (quote monkey)
> x ; -> monkey
>
> This does not work
>
This works:
#lang racket
(define-syntax (x y) (syntax-case y () (_ (syntax (quote monkey)
x ; -> monkey
This does not work
#lang racket/base
(define-syntax (x y) (syntax-case y () (_ (syntax (quote monkey)
gives the expansion time error:
syntax-case: unbound identifier in the tran
3 matches
Mail list logo