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

ying hu seal_hu at yahoo.com.cn
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://list.cs.brown.edu/pipermail/plt-scheme/attachments/20090318/46098964/attachment.html


More information about the plt-scheme mailing list