This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: difficulty of writing translators



> I'm not proposing it as anything. I was just commenting on Per's
> suggestion in a general way. He said he hadn't thought of a way to
> allow setters to be set for user-defined procedures, so I suggested
> one.

Ah, okay.  Glad I asked...


At first blush, it seems like the analysis needed to determine a
setter at compile time (and thus generate (set-car! foo bar) from
(set! (car foo) bar)) would be the same as that required to in-line
things like car and cdr.