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.2 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id B6BD8BC69 for ; Thu, 18 Oct 2007 12:34:00 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGrTFkfLENaMnmdsb2JhbACOTgIBAQcEBhEY X-IronPort-AV: E=Sophos;i="4.21,295,1188770400"; d="scan'208";a="18186307" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 18 Oct 2007 12:34:00 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l9IAXxIn010940 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 18 Oct 2007 12:34:00 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGrTFkfLENaMnmdsb2JhbACOTgIBAQcEBhEY X-IronPort-AV: E=Sophos;i="4.21,295,1188770400"; d="scan'208";a="18186302" Received: from ipmail01.adl2.internode.on.net ([203.16.214.140]) by mail4-smtp-sop.national.inria.fr with ESMTP; 18 Oct 2007 12:33:58 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAITTFkd5LCRsWmdsb2JhbAAMjjgBIA X-IronPort-AV: E=Sophos;i="4.21,295,1188743400"; d="scan'208";a="213358254" Received: from ppp121-44-36-108.lns10.syd7.internode.on.net (HELO [192.168.1.201]) ([121.44.36.108]) by ipmail01.adl2.internode.on.net with ESMTP; 18 Oct 2007 20:03:54 +0930 Subject: Re: [Caml-list] Help me find this pdf From: skaller To: Tom Cc: Caml-list List In-Reply-To: References: Content-Type: text/plain Date: Thu, 18 Oct 2007 20:33:52 +1000 Message-Id: <1192703632.7435.34.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 47173697.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0200,:01 sourceforge:01 wrote:01 caml-list:01 functions:01 functions:01 lazy:02 lazy:02 implemented:02 primitive:02 thu:05 long:06 arguments:07 arguments:07 indeed:07 On Thu, 2007-10-18 at 11:52 +0200, Tom wrote: > Not long ago I was searching the Internet on the topic "combining > eager and lazy evaluation", and have run over a paper which I > obviously dismissed as "not interesting enough", yet now I have > realized that it could indeed be useful, but am unable to find it. > > I know it was talking about a useful primitive, I do not know how > exactly it was named, which checked whether values passed as arguments > to functions were lazy (blocks to be evaluated) or eager (already > evaluated), and using it some functions, e.g. map (this example was > present in the paper) could be implemented to be both eager and lazy > at the same time, depending on the arguments. > > Does anyone recognize this description? No, but Felix does it by default -- John Skaller Felix, successor to C++: http://felix.sf.net