From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 047BABC0A for ; Thu, 5 Apr 2007 05:14:03 +0200 (CEST) Received: from smtp.syd.people.net.au (smtp.syd.people.net.au [218.214.225.98]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id l353DxFW001150 for ; Thu, 5 Apr 2007 05:14:01 +0200 Received: (qmail 2108 invoked from network); 5 Apr 2007 03:14:02 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 5 Apr 2007 03:14:02 -0000 Received: from coltrane (coltrane [192.168.1.101]) by coltrane.mega-nerd.net (Postfix) with SMTP id 676777ADA for ; Thu, 5 Apr 2007 13:13:54 +1000 (EST) Date: Thu, 5 Apr 2007 13:13:54 +1000 From: Erik de Castro Lopo To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Generators/iterators and lazy evaluation? Message-Id: <20070405131354.f46b4830.mle+ocaml@mega-nerd.com> In-Reply-To: <200704050053.41426.jon@ffconsultancy.com> References: <200704050053.41426.jon@ffconsultancy.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.3.0beta5 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 46146977.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 erlang:01 bankruptcy:98 iterators:01 wrote:01 caml-list:01 lazy:02 python:02 python:02 idiomatic:02 idiomatic:02 languages:03 erik:04 erik:04 Jon Harrop wrote: > The moral is: don't try to write idiomatic Python in OCaml. Actually, thats not the moral itself, just a corollaray of the moral. The moral is actually : try to write code that is idiomatic for the language you are currently writing in [0]. Erik [0] Currently learning Erlang while being very careful not to write Ocaml, or Python or C++ or C or any of the other languages I know. -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "TLC declared bankruptcy after they received less than 2 percent of the $175 million earned by their CD sales. That was about 40 times less than the profit that was divided among their management, production and record companies." -- Courtney Love on the REAL piracy