guile-devel
[Top][All Lists]
Advanced

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

Re: srfi-1 take and drop


From: Rob Browning
Subject: Re: srfi-1 take and drop
Date: Mon, 05 May 2003 22:02:21 -0500
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> 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




reply via email to

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