[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list building
From: |
Brian S McQueen |
Subject: |
Re: list building |
Date: |
Wed, 14 Jan 2004 11:14:54 -0800 (PST) |
TTN's message seemed to go to a different list. I never saw it. What did
TTN say?
On Wed, 14 Jan 2004, Lynn Winebarger wrote:
>
> Better to take TTN's advice if there's any portability desired.
> Order of evaluation is not specified by the scheme standard.
>
> Lynn
>
> Stephen Compall wrote:
> > 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.
> >
>
>
>
> _______________________________________________
> Guile-user mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/guile-user
>
Re: list building, Matt Hellige, 2004/01/14
Re: list building, Keith Wright, 2004/01/15