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 499C1BC8C for ; Tue, 25 Jan 2005 13:13:03 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0PCD260029603 for ; Tue, 25 Jan 2005 13:13:03 +0100 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 NAA16997 for ; Tue, 25 Jan 2005 13:13:02 +0100 (MET) Received: from xyxyx (caelum.vs.mythic-beasts.com [212.69.37.45]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0PCD01s029600 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 25 Jan 2005 13:13:02 +0100 Received: from draco.wormhole ([192.168.27.1] helo=draco.xyxyx.org) by xyxyx with esmtp (Exim 4.34) id 1CtPZ5-0004mH-Gd for caml-list@inria.fr; Tue, 25 Jan 2005 12:12:59 +0000 Received: from jim by draco.xyxyx.org with local (Exim 4.43) id 1CtPZ5-0004HX-5S for caml-list@inria.fr; Tue, 25 Jan 2005 12:12:59 +0000 Date: Tue, 25 Jan 2005 12:12:59 +0000 From: Jim Farrand To: caml-list@inria.fr Subject: Dynaml: Dynamic types hack for O'Caml Message-ID: <20050125121259.GA15086@draco.xyxyx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Mail-Key: JimbosMagicMailKey X-Miltered: at nez-perce with ID 41F637CE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41F637CC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; o'caml:01 o'caml:01 runtime:01 statically:01 instructive:01 exception:01 polymorphic:01 dynamically:01 compile:01 functions:01 incorrect:02 preserve:02 types:02 types:02 dynamic:03 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Dear all, Dynaml is a camlp4 extension to O'Caml which allows values to be typed dynamically (at runtime), rather than statically (at compile time). http://farrand.net/dynaml.shtml The README file is on the website, and is reasonably instructive. Features: * Provides "to dynamic" and "to static" cast for converting values from statuc/dynamic. * Type exception is thrown if a value is cast to an incorrect type, to preserve type safety. * Can deal with polymorphic functions and values. If your an expert on types, please read my next message an help me out. :) Regards, Jim -- Jim Farrand