Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ucla-cs!flowers From: flowers@ucla-cs.UUCP Newsgroups: comp.lang.lisp Subject: Re: Circular Lists - (nf) Message-ID: <5044@shemp.ucla-cs.UCLA.EDU> Date: Sat, 14-Mar-87 20:39:19 EST Article-I.D.: shemp.5044 Posted: Sat Mar 14 20:39:19 1987 Date-Received: Sun, 15-Mar-87 07:38:52 EST References: <2700001@uicsg.UUCP> <6900003@iaoobelix.UUCP> Sender: root@ucla-cs.UCLA.EDU Reply-To: flowers@CS.UCLA.EDU (Margot Flowers) Organization: UCLA Computer Science Department Lines: 11 In article <6900003@iaoobelix.UUCP> wagner@iaoobelix.UUCP writes: >I think, there are two major applications of circular lists: > >1. Infinite lists. Under some circumstances (map...) it is useful to have > a list containing a periodic sequence of objects. This (circular) > list can then be used e.g. in mapcar to apply a function to an > infinite (but periodic) sequence of data objects. Infinite lists are more appriately embodied in streams (see Abelson&Sussman 3.4).