Hi, On 2014-03-04, at 13:00, Jan Wedekind <[email protected]> wrote:
> On Tue, 4 Mar 2014, Panicz Maciej Godek wrote: > >> [...] >> #[object 'property] >> and >> #[object : 'property : 'propertys-property] >> (it also supports vectors and hashes and so on) and although it helps >> a little, I'm not particularly happy with that solution. >> It is available here, if anyone's interested: >> >> http://hg.gnu.org.ua/hgweb/slayer/file/d5302c97b90d/guile-modules/extra/ref.scm > I think that's a good point. AFAIK in Clojure they have a notation for > chaining method calls, too. Clojure has the thread-last macro ('->>'), which lets you do: (->> object property propertys-property) Greg Hendershott has, I think, ported it to Racket. It should work well with accessor functions which is I think how Goops works, correct me if I'm wrong. Regards, Yawar
