Re: Simplified slot access in goops

2008-12-02 Thread Clinton Ebadi
"Panicz Maciej Godek" <[EMAIL PROTECTED]> writes: >> with-slots uses symbol-macrolet[0] to bind each of the variable names to >> symbol macros within its body. I don't know of anything in Guile that is >> equivalent. > > R5RS pattern language allows to create syntactic aliases for practically > an

Re: Simplified slot access in goops

2008-12-02 Thread Panicz Maciej Godek
Neil wtote: >> I think this is a nice interface; but I'm less sure about the >> implementation. Why do you need to use primitive-eval at all? >> >> Isn't CL's with-slots a bit like this? It might help to look at how >> that is implemented. Well, I've been having similar doubts, so I came up with

Re: Simplified slot access in goops

2008-12-02 Thread Clinton Ebadi
"Neil Jerram" <[EMAIL PROTECTED]> writes: > 2008/11/27 Maciek Godek <[EMAIL PROTECTED]>: > >> Perhaps the possible inconvenience is that all variable >> names that happen to be the slot names of a given class >> are shadowed. In the long run it may also cause significant >> performance problems (o