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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 8110DBC69 for ; Sun, 6 May 2007 22:20:38 +0200 (CEST) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l46KKaIj014410 for ; Sun, 6 May 2007 22:20:37 +0200 X-IronPort-AV: E=Sophos;i="4.14,500,1170595800"; d="scan'208";a="124015075" Received: from ppp8-148.lns1.syd7.internode.on.net (HELO [192.168.1.201]) ([59.167.8.148]) by ipmail01.adl2.internode.on.net with ESMTP; 07 May 2007 05:50:35 +0930 Subject: Re: [Caml-list] 246 constructors? From: skaller To: Jon Harrop Cc: caml-list@yquem.inria.fr In-Reply-To: <200705062050.14105.jon@ffconsultancy.com> References: <1178480953.4443.4.camel@rosella.wigram> <200705062050.14105.jon@ffconsultancy.com> Content-Type: text/plain Date: Mon, 07 May 2007 06:20:30 +1000 Message-Id: <1178482830.4443.6.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 463E3894.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; constructors:01 0100,:01 constructors:01 variants:01 clashes:01 parser:01 sourceforge:01 polymorphic:01 wrote:01 wrote:01 caml-list:01 parse:02 generated:05 interpreter:07 file:08 On Sun, 2007-05-06 at 20:50 +0100, Jon Harrop wrote: > On Sunday 06 May 2007 20:49, skaller wrote: > > I just got this message: > > > > File "dyp_parse.ml", line 492, characters 5-19461: > > Too many non-constant constructors -- maximum is 246 non-constant > > constructors > > > > Really??? > > Yeah, I was hardcoding a bunch of enums for my Mathematica interpreter and got > that. Easiest solution is to use polymorphic variants instead. Then you have > clashes to worry about instead... Unfortunately (or not .. ) the file is generated by the dypgen parser generator.. -- John Skaller Felix, successor to C++: http://felix.sf.net