guile-user
[Top][All Lists]
Advanced

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

Re: Article about GNU Guile and GOOPS


From: Yawar Amin
Subject: Re: Article about GNU Guile and GOOPS
Date: Tue, 4 Mar 2014 16:17:13 -0500

Hi,

On 2014-03-04, at 13:00, Jan Wedekind <address@hidden> 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




reply via email to

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