On Wed, Jun 05, 2013 at 07:57:49PM +0200, Thomas Chust wrote:
> Hello,
> 
> but it's trivial to detect cyclic lists during the traversal using
> either a set of seen elements or just two iteration pointers travelling
> at different speeds.

In C that's rather painful.  Note that the OP was asking specifically
for a C_listp macro.

Cheers,
Peter
-- 
http://www.more-magic.net

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to