From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA19276; Sat, 9 Oct 2004 10:36:05 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA19208 for ; Sat, 9 Oct 2004 10:36:04 +0200 (MET DST) Received: from mta1.cl.cam.ac.uk (mta1.cl.cam.ac.uk [128.232.0.15]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i998a49D021316 for ; Sat, 9 Oct 2004 10:36:04 +0200 Received: from zonule.cl.cam.ac.uk ([128.232.9.23] helo=cl.cam.ac.uk ident=[AXSeBBL61Ap17sNdXW2tLcQRbOlCNu1t]) by mta1.cl.cam.ac.uk with esmtp (Exim 3.092 #1) id 1CGChq-0006HZ-00; Sat, 09 Oct 2004 09:35:58 +0100 To: skaller@users.sourceforge.net cc: Alex Baretta , David Brown , caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Recursive lists In-reply-to: Your message of "09 Oct 2004 09:29:55 +1000." <1097278194.19722.110.camel@pelican.wigram> Date: Sat, 09 Oct 2004 09:35:57 +0100 From: Keith Wansbrough Message-Id: X-Miltered: at concorde with ID 4167A2F4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 cyclic:01 lazy:02 lazy:02 module:03 recursive:03 argument:03 infinite:05 functions:05 stream:07 stream:07 lists:91 shouldn't:10 actually:11 though:14 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > So there is actually a good argument for a Stream > module with hd and tl functions (and lazy map ..) Even lazy map shouldn't do cycle-detection, though: I would expect a cyclic stream to be mapped to an infinite one. --KW 8-) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners