[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1152: Reserved pattern symbols break when a bind
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1152: Reserved pattern symbols break when a binding of the same name exists |
Date: |
Thu, 04 Sep 2014 12:32:00 -0000 |
#1152: Reserved pattern symbols break when a binding of the same name exists
-------------------------+--------------------------------------------------
Reporter: syn | Owner: ashinn
Type: defect | Status: closed
Priority: major | Milestone: someday
Component: extensions | Version: 4.9.x
Resolution: wontfix | Keywords: matchable egg
-------------------------+--------------------------------------------------
Changes (by ashinn):
* status: new => closed
* resolution: => wontfix
Comment:
This is basically just hygiene working as expected, and gives
that result for the same reason that
(let ((else #f))
(cond (else #t) (#t #f)))
returns #f.
Admittedly this is one of those cases where it's not useful to
match the operator position id against the current lexical scope
and one might be tempted to deliberately match unhygienically.
However, this may change in future versions. Moreover,
other macros which expand into match may depend on the
fact that inserted identifiers match hygienically.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1152#comment:2>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.