From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id AF2F0BC57 for ; Fri, 3 Sep 2010 23:25:54 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAMcEgUxQW+UMgWdsb2JhbACDGJBTjSYVAQEWIiKuH5IBgSKDJnMEiHGBKA X-IronPort-AV: E=Sophos;i="4.56,315,1280700000"; d="scan'208";a="66861265" Received: from lo.gmane.org ([80.91.229.12]) by mail1-smtp-roc.national.inria.fr with ESMTP; 03 Sep 2010 23:25:54 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ordlh-00081d-1b for caml-list@inria.fr; Fri, 03 Sep 2010 23:25:53 +0200 Received: from ks368928.kimsufi.com ([94.23.39.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 23:25:53 +0200 Received: from sylvain by ks368928.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 23:25:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: Create a constraint between variant type and data list Date: Fri, 3 Sep 2010 21:25:39 +0000 (UTC) Message-ID: References: <20100903231318.7b92af7c@haddock.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ks368928.kimsufi.com User-Agent: slrn/pre1.0.0-11 (Linux) X-Spam: no; 0.00; le-gall:01 maxence:01 guesdon:01 maxence:01 guesdon:01 le-gall:01 compiler:01 wrote:01 constraint:01 variant:02 variant:02 data:02 complain:04 fri:05 sep:06 On 03-09-2010, Maxence Guesdon wrote: > Le Fri, 3 Sep 2010 17:16:48 +0000 (UTC), > Sylvain Le Gall a écrit : > > A solution is to add your new license to your list of associations, then > the compiler will complain about the unknown variant :) > This is my current solutions. I try to find something better ;-) Regards, Sylvain Le Gall