[plt-scheme] a conflict with pattern match and rnrs/mutable-pairs-6

From: ying hu (seal_hu at yahoo.com.cn)
Date: Wed Mar 18 10:48:39 EDT 2009

Hi,

I'm using module 'rnrs/mutable-pairs-6' to avoid list->mlist transition. I also like to use pattern matching. But it seems there're some conflicts between them.

The expression,
(match '(1 2 3) ['(1 2 3) (+ 1 2 3)]) 
under a normal #lang scheme will be right.

But if I add statement,
(require rnrs/base-6)
(require rnrs/mutable-pairs-6)
an error 'match: syntax error in quote pattern' will be thrown.

Is there a way to avoid this?

Thanks
Max



      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090318/46098964/attachment.html>

Posted on the users mailing list.