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=1.9 required=5.0 tests=NO_REAL_NAME,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6FE04BBC1 for ; Mon, 3 Mar 2008 17:51:22 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAEO7y0eh699tn2dsb2JhbACPengBAQEBAQYEBgkIGJtz X-IronPort-AV: E=Sophos;i="4.25,438,1199660400"; d="scan'208";a="7948554" Received: from mail10.aep.com ([161.235.223.109]) by mail2-smtp-roc.national.inria.fr with ESMTP; 03 Mar 2008 17:51:21 +0100 Received: from dsml3oh.aepsc.com ([10.127.175.3]) by mail10.aep.com (8.13.8/8.13.8) with ESMTP id m23GpJAA012952 for ; Mon, 3 Mar 2008 10:51:19 -0600 To: caml-list caml-list Subject: different records, same field name? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: mfmorss@aep.com Date: Mon, 3 Mar 2008 11:51:57 -0500 X-MIMETrack: Serialize by Router on DSML3OH/SERVERS/AEPIN(Release 7.0.2HF1035 | January 21, 2008) at 03/03/2008 11:51:19, Serialize complete at 03/03/2008 11:51:19 Content-Type: text/plain; charset="US-ASCII" X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.7020:2.3.11,1.2.37,4.0.164 definitions=2008-03-03_03:2008-03-03,2008-03-03,2008-03-03 signatures=0 X-Spam: no; 0.00; ocaml:01 toplevel:01 ocaml:01 toplevel:01 define:02 types:05 rather:08 useful:09 practical:09 might:12 case:13 some:14 some:14 done:14 nevertheless:15 I have not used OCaml, just done some reading about it and toyed with the toplevel to see if it might be a useful tool here. I have "Practical OCaml," which unfortunately is a rather wretched reference. In any case, is it possible to define and use different types of records, which nevertheless share some field names? I have had difficulty doing this in the toplevel.