chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1363: when compiled, set! will clobber previous


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1363: when compiled, set! will clobber previous lambda-info's
Date: Thu, 13 Apr 2017 12:52:49 -0000

#1363: when compiled, set! will clobber previous lambda-info's
-----------------------------------+---------------------
            Reporter:  kristianlm  |      Owner:
                Type:  defect      |     Status:  new
            Priority:  minor       |  Milestone:  someday
           Component:  unknown     |    Version:
          Resolution:              |   Keywords:
Estimated difficulty:              |
-----------------------------------+---------------------

Comment (by kristianlm):

 Note that I think it's a good idea to fix this, so that we can remove the
 explicitly-defined getter-with-setter info-strings of caar, caaar, cadar
 and all friends:

 {{{
 (set! caaar (getter-with-setter caaar (lambda (x y) (set-car! (caar x) y))
 "(caaar p)"))
 }}}

 With this fix, it could just use the info-string from the getter. As of
 now, we can't just remove the info-strings because of this strange
 {{{set!}}} behaviour.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1363#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]