scsh-users
[Top] [All Lists]

Re: let-match mvars

To: Michel Schinz <Michel.Schinz@epfl.ch>
Subject: Re: let-match mvars
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: Tue, 17 Dec 2002 14:25:57 +0100
Cc: scsh-news@zurich.ai.mit.edu, stktrc <stktrc@yahoo.com>, Olin Shivers <shivers@cc.gatech.edu>
>>>>> "Michel" == Michel Schinz <Michel.Schinz@epfl.ch> writes:

Michel> stktrc <stktrc@yahoo.com> writes:

>> Is it intentional that let-match binds the first of mvars to the match
>> object itself?

Michel> It's a known bug (#441953 on the sourceforge site), but I agree it's
Michel> pretty annoying. The problem is that it isn't clear which of the
Michel> documentation or the implementation is wrong, and knowing that
Michel> apparently requires the help of the function's designer, namely Olin,
Michel> who is hard to reach (to put things mildly).

I've decided to treat this as an imp
lementation bug: documentation and
comments agree, and it seems as though the usage that
LET-MATCH/IF-MATCH was designed for, the match object isn't
important.  (If you need it, just LET-bind it or use COND =>.)

If anyone disagrees, now's the time to speak up ...

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

<Prev in Thread] Current Thread [Next in Thread>