From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA20047 for caml-redistribution; Sun, 10 Oct 1999 01:53:17 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA28830 for ; Sat, 9 Oct 1999 18:58:35 +0200 (MET DST) Received: from postbox.dai.ed.ac.uk (postbox.dai.ed.ac.uk [129.215.41.196]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id SAA05083 for ; Sat, 9 Oct 1999 18:58:33 +0200 (MET DST) Received: from turriff (turriff.dai.ed.ac.uk [129.215.41.225]) by postbox.dai.ed.ac.uk (8.9.3/8.9.3) with SMTP id RAA24331; Sat, 9 Oct 1999 17:58:30 +0100 (BST) Date: Sat, 9 Oct 1999 17:58:29 +0100 Message-Id: <6427.199910091658@turriff> From: William Chesters To: caml-list@inria.fr Subject: Re: Stdlib regularity Sender: weis Matías Giovannini wrote: > And then a "functional for" loop looks like > > List.map (fun i -> ...) (iota n) What about Array.init n (fun i -> ...) ? :-)