unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Stephen Compall <s11@member.fsf.org>
Subject: Re: list building
Date: 14 Jan 2004 11:57:05 -0600	[thread overview]
Message-ID: <xfy7jzu5s7i.fsf@csserver.evansville.edu> (raw)
In-Reply-To: <20040114102521.A4450@metro.immute.net>

Matt Hellige <matt@immute.net> 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


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2004-01-14 17:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14  0:11 list building Brian S McQueen
2004-01-14  0:40 ` Thien-Thi Nguyen
2004-01-14  3:13   ` Viktor Pavlenko
2004-01-24 22:12     ` Thien-Thi Nguyen
2004-01-24 22:23       ` Viktor Pavlenko
2004-01-29 18:54         ` Recommended Reading about Scheme Allister MacLeod
2004-01-29 19:00         ` errata on Recommended Reading for Scheme Allister MacLeod
2004-02-12 18:38         ` list building Thien-Thi Nguyen
2004-01-14  3:43   ` Marius Vollmer
2004-01-14 16:25 ` Matt Hellige
2004-01-14 17:57   ` Stephen Compall [this message]
2004-01-14 18:48     ` Lynn Winebarger
2004-01-14 19:14       ` Brian S McQueen
2004-01-14 19:39       ` Matt Hellige
2004-01-16  1:44       ` Joshua Judson Rosen
2004-01-15  6:26 ` Keith Wright
2004-01-15 17:49   ` Brian S McQueen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xfy7jzu5s7i.fsf@csserver.evansville.edu \
    --to=s11@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).