[plt-scheme] (v4) wildcard not allowed in expression
May be you missed the fact that _ has become a wild-card.
Jos
----- Original Message -----
From: Jos Koot
To: YC ; pltscheme
Sent: Tuesday, June 24, 2008 2:39 AM
Subject: Re: [plt-scheme] (v4) wildcard not allowed in expression
It works for me though:
#lang scheme
(define-syntax x
(syntax-rules ()
((_ 1 _) 'one)
((_ _ 2) 'two)))
(x 1 monkey) ; one
(x monkey 2) ; two
Welcome to DrScheme, version 4.0.0.1-svn16jun2008 [3m].
Language: Module.
Jos
----- Original Message -----
From: YC
To: pltscheme
Sent: Tuesday, June 24, 2008 12:32 AM
Subject: [plt-scheme] (v4) wildcard not allowed in expression
Hi -
It seems that in v4 `_` can no longer exist in the expression position for syntax-case, is there a reason for the change?
Thanks,
yc
----------------------------------------------------------------------------
_________________________________________________
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-scheme
------------------------------------------------------------------------------
_________________________________________________
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-scheme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080624/b4940e8f/attachment.html>