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.2 required=5.0 tests=AWL,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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id B3C4FBC69 for ; Sun, 6 May 2007 22:31:48 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l46KVmL2016452 for ; Sun, 6 May 2007 22:31:48 +0200 Received: by ug-out-1314.google.com with SMTP id q2so985895uge for ; Sun, 06 May 2007 13:31:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GvGocaXjv0Tu/O70Bdh9YjqQHspKdtIlBzqTgTtOz4hhJulcx0hzMmnpIvzYx9gRDcM2N7KSJ8aj05BmBzn/eb2Dr0mfkxZkp4fdjygQj5pzs/UHstGa0AJLIgEL6bGfnA0qT8s5GzLYEatnqrz/aB58KJxwi06QF4sH4TxoPoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YgUB3OhCr5X9l+I8urcIj1OZFs5vhntjeL3kBLWbNqLx2IUXJTU+aQh6SVuNCmcgv64ZwqEC1/2OoRRiRvRvibbSGG9lmVFdyUrvPxq7MxUMtOiQ6g/ZC1o/ZoG3trOfCrs/dR+yIt65Wu02L1JEL33BeB/x23iS5qG73tNOsPk= Received: by 10.66.232.9 with SMTP id e9mr3029133ugh.1178483508186; Sun, 06 May 2007 13:31:48 -0700 (PDT) Received: by 10.66.251.16 with HTTP; Sun, 6 May 2007 13:31:48 -0700 (PDT) Message-ID: <9d3ec8300705061331u353f7038x720ea570f5ec4b64@mail.gmail.com> Date: Sun, 6 May 2007 22:31:48 +0200 From: "Till Varoquaux" To: skaller Subject: Re: [Caml-list] 246 constructors? Cc: "Jon Harrop" , caml-list@yquem.inria.fr In-Reply-To: <1178482830.4443.6.camel@rosella.wigram> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1178480953.4443.4.camel@rosella.wigram> <200705062050.14105.jon@ffconsultancy.com> <1178482830.4443.6.camel@rosella.wigram> X-j-chkmail-Score: MSGID : 463E3B34.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 463E3B34.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; constructors:01 usefull:01 0100,:01 constructors:01 variants:01 clashes:01 parser:01 beginner's:01 ocaml:01 bug:01 sourceforge:01 polymorphic:01 beginners:01 wrote:01 wrote:01 I'm guessing a patch against dypgen could prove usefull then. Till On 5/6/07, skaller wrote: > 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 > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >