guile-user
[Top][All Lists]
Advanced

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

Re: srfi-1 map implementation


From: Panagiotis Vossos
Subject: Re: srfi-1 map implementation
Date: Sun, 20 Jan 2002 23:04:15 +0200
User-agent: Gnus v5.8.8

Panagiotis Vossos <address@hidden> writes:

> However, if you have srfi-1 loaded you get:
> (use-modules (srfi srfi-1))
> (map identity (make-list 800))
> ERROR: Stack overflow
> ABORT: (stack-overflow)

I realized that the problem was the way 'map1','filter' and 'remove'
were implemented in srfi-1. I checked out a fresh guile from CVS and
'filter' and 'remove' had been fixed. 'map1' was not, so I attach a fix.

By the way, will the iterative versions be included in the next
release of guile ?

Best Regards,
        Panagiotis.

Attachment: map1-iter.diff
Description: map1 iter patch


reply via email to

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