[Top][All Lists]

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

srfi-1 list-copy improper lists

From: Kevin Ryde
Subject: srfi-1 list-copy improper lists
Date: Wed, 13 Aug 2003 10:23:12 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

A little spot of code for an item from the todo list,

        * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
        from core list-copy but allowing improper lists, per SRFI-1 spec.

        * tests/srfi-1.test (list-copy): New tests.

I think this should go in the 1.6 branch too.

I suppose it'd be easier to relax the core list-copy, but for now at
least a version in the srfi-1 module can do what srfi-1 says it should.

Attachment: srfi-1.c.list-copy.diff
Description: Text document

Attachment: srfi-1.scm.list-copy.diff
Description: Text document

reply via email to

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