From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 17502BC75 for ; Mon, 14 Feb 2005 19:50:25 +0100 (CET) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1EIoNme001372 for ; Mon, 14 Feb 2005 19:50:24 +0100 Received: from [192.168.1.200] (ppp212-197.lns2.syd3.internode.on.net [203.122.212.197]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j1EIi1f6019594; Tue, 15 Feb 2005 05:14:08 +1030 (CST) Subject: Re: [Caml-list] The boon of static type checking From: skaller Reply-To: skaller@users.sourceforge.net To: Martin Berger Cc: Thomas Fischbacher , caml-list@yquem.inria.fr In-Reply-To: <4210DFE1.5030208@dcs.qmul.ac.uk> References: <877e9a17050206221653d14456@mail.gmail.com> <200502131451.02231.edgin@slingshot.co.nz> <20050213112630.73930e19@hobbes> <877e9a1705021312525337a907@mail.gmail.com> <877e9a1705021314512ff095b9@mail.gmail.com> <877e9a1705021316114d4e10f0@mail.gmail.com> <4210DFE1.5030208@dcs.qmul.ac.uk> Content-Type: text/plain Organization: Message-Id: <1108406640.2584.536.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 15 Feb 2005 05:44:01 +1100 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4210F2EF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 sourceforge:01 wrote:01 logics:01 lazy:01 ocaml:01 syntax:01 syntax:01 strangely:01 glebe:01 061:98 nsw:01 macros:01 checking:01 snail:02 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Tue, 2005-02-15 at 04:29, Martin Berger wrote: > as an aside, are there any good program logics for languages with macro-facilities like > lisp-dialects? Aren't macros a way to do lazy evaluation in an eager language? EG in Ocaml a 'macro': cond (c,t,f) --> match c with | true -> t | false -> f maps the eager functional syntax onto a lazily evaluated syntax, strangely doing so by hyper-active evaluation? -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net