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

From: AndrevanTonder <andre>
Date: Mon Oct 2 10:42:32 2006

Here is another perfectly good program that seems to be disallowed by r6rs if I
read it correctly:

(define (do-forever thunk)
   (for-each (lambda (ignore) (thunk))
             some-infinite-list))

Andre
Received on Mon Oct 02 2006 - 10:39:50 UTC

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