guile-user
[Top][All Lists]
Advanced

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

Re: list building


From: Stephen Compall
Subject: Re: list building
Date: 14 Jan 2004 11:57:05 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Matt Hellige <address@hidden> writes:

> If you already have an output-list you need to preserve, then:
> 
>   (set! output-list
>     `(,(sgids pref-login)
>       ,(gids)
>       ,(getd pref-login)
>       . ,output-list))

Better,

(set! output-list (cons* (getd pref-login) (gids) (sgids pref-login)
                         output-list))

Particularly as the original pushed `sgids' first, IIRC. cons* is your
friend.

--
Stephen Compall or s11 or sirian

If you haven't enjoyed the material in the last few lectures then a career
in chartered accountancy beckons.
                -- Advice from the lecturer in the middle of the Stochastic
                   Systems course.

Panama undercover data haven Khaddafi Ft. Meade spy BLU-97 A/B [Hello
to all my friends and fans in domestic surveillance] Janet Reno BRLO
Perl-RSA World Trade Center UNSCOM NATO BCCI




reply via email to

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