chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Add more convenient condition object const


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Add more convenient condition object constructor [was: Re: [PATCH] Turn chicken.condition into a module, with syntax exports!]
Date: Thu, 25 May 2017 14:00:04 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, May 24, 2017 at 08:58:46AM +0200, Peter Bex wrote:
> That's requires more keystrokes, but at the same time it's more readable.
> Of course one reason to add the constructor is to have an API that's
> less verbose, and this adds back a little bit more verbosity.  On the
> other hand, the constructor is new so it's less hassle for users if we
> changed that rather than the ->list that already exists.

I just checked, there are exactly 3 eggs in the henrietta cache
that even use condition->list: fuse, condition-utils and missbehave.

The fuse egg's use is an example program that only uses the procedure
for displaying the error, but condition-utils and missbehave actually make
use of the structure of the list (but could be easily changed, I think).

Cheers,
Peter

Attachment: signature.asc
Description: Digital signature


reply via email to

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