[Cuis] Cuis-Features

KenD Ken.Dickey at whidbey.com
Sun Jun 30 16:58:43 CDT 2013


On Sun, 30 Jun 2013 18:41:53 +0000
"H. Hirzel" <hannes.hirzel at gmail.com> wrote:

> >     (Feature named: #Sound) requires: #(Foo Bar)
> >
> > or
> >
> >     Feature named: #Sound requires: #Foo
> +1
> This statement is straightforward and easy to read and write.
> Ken, could your system of pulling in features made to work with this
> type of statements?

Actually, I went the other way.  I'll do a "git push" presently.

I must to admit that I was in a hurry in the first pass and "did not have the time to make it shorter".


I simplified to 2 classes: FeatureSpec and Feature.

One now writes:
   (Feature named: #Sound version: 1 revision: 0) require.

The rationale is that the data structure is for inclusion in packages and one really wants a user to specify version and revision, so I removed the short form.

All feedback welcomed!

-- 
KenD <Ken.Dickey at whidbey.net>




More information about the Cuis mailing list