unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: srfi-1 take and drop
Date: Mon, 05 May 2003 22:02:21 -0500	[thread overview]
Message-ID: <87n0i0ydz6.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <873cjsltsx.fsf@zip.com.au> (Kevin Ryde's message of "Tue, 06 May 2003 11:58:54 +1000")

Kevin Ryde <user42@zip.com.au> writes:

> Does the spec say it has to chase down to check it's not an improper
> list?  I guess at least that can be done in one loop and not separate
> proper-list? and circular-list? calls.

  (define (null-list? l)
    (not (pair? l)))

is actually correct according to the spec.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


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


  reply	other threads:[~2003-05-06  3:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 23:14 srfi-1 take and drop Kevin Ryde
2003-05-06  1:30 ` Rob Browning
2003-05-06  1:58   ` Kevin Ryde
2003-05-06  3:02     ` Rob Browning [this message]
2003-05-06  3:04     ` Rob Browning
2003-05-08  0:00       ` Kevin Ryde
2003-05-08 16:37         ` Rob Browning
2003-05-09 22:38           ` Kevin Ryde
2003-05-08 16:12       ` Paul Jarc
2003-05-08 16:35         ` Rob Browning

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=87n0i0ydz6.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=guile-devel@gnu.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).