[r6rs-discuss] [Formal] Requirement to detect circular lists

From: AndrevanTonder <andre>
Date: Mon Oct 2 04:07:24 2006

Name : Andre van Tonder
Email : andre at het.brown.edu
Type : defect
Priority : minor
Component : Mutable list arguments
Version : 5.91
Pages : 123-125
Dependencies: None

Summary:
--------

Requirement of cycle detection in list procedures
may be too onerous, potential performance problem.

Description:
------------

The draft requires procedures such as length, and
various others, to detect and raise an exception
if passed a circular list.

This may adversely affect performance globally
to accommodate an uncommon bug, in addition
to complicating the implementation of these
procedures rather significantly.

Suggestion:
-----------

Allow these procedures to not return when passed
a circular list.
Received on Sun Oct 01 2006 - 17:08:03 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC