chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows G


From: John Cowan
Subject: Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]
Date: Fri, 1 Apr 2011 20:30:13 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

Thomas Chust scripsit:

> > The alist approach I chose can feel unwieldy at times for sure if
> > written manually, but nice when the alist is already formulated
> > elsewhere (which occurs quite a bit in web code) to be passed in.
> 
> That's a good point to keep in mind.

An advantage of the alist approach is that you can use quasiquote to
create it:

(foo `((bar . ,bar-value) (baz . ,baz-value) (quux . ,quux-value)))

This deals nicely with situations where some key values are fixed
at the point of call and others are variable.

-- 
Not to perambulate                 John Cowan <address@hidden>
    the corridors                  http://www.ccil.org/~cowan
during the hours of repose
    in the boots of ascension.       --Sign in Austrian ski-resort hotel



reply via email to

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