From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 6E819BBAF for ; Sun, 5 Dec 2010 09:17:14 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar0AAMPZ+kzRVditkGdsb2JhbACjKggVAQEBAQkJDAcRBB6keYlpghmEBS6IVgEBAwWFRASKboYF X-IronPort-AV: E=Sophos;i="4.59,301,1288566000"; d="scan'208";a="69887085" Received: from mail-qy0-f173.google.com ([209.85.216.173]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-MD5; 05 Dec 2010 09:16:59 +0100 Received: by qyk1 with SMTP id 1so2382076qyk.18 for ; Sun, 05 Dec 2010 00:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=4Z796FQgfLMvomZlefkOIquoEkiJJJqIukxaECUd9y0=; b=ogzIzvkoqJ4qobU6J1wlOWEN9s+3j/uL75ZOiZ3qoqj+ip5v2feIJ4xRl2IYocSIAB A5K3hrRENUzkSpsGrp2TN9L9Ndi+Pl36m7LzRuyj2KQvzBj+QSeeHUEVE21syS6wPbSi vtTMNsYHp+3s+AIGuDeEzM/HBQ80/n9uIPULY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=DHgEM2Lk1I6kxPfqluxLVwfIHhfxZ3t+qzV+d69RrTyWdHQ9byMY7nVXXF9Ebxoixc DyYDCdoup/odnNOcWN933DiWOi2vYueusHm55j2eJ8HCkmNbYks74jXua67doSqX+HIy 8dresWxtwzCl8ZHhUfF3IQy7nwyGAP99xlbNg= Received: by 10.229.217.133 with SMTP id hm5mr3013658qcb.258.1291537017865; Sun, 05 Dec 2010 00:16:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.230.149 with HTTP; Sun, 5 Dec 2010 00:16:37 -0800 (PST) In-Reply-To: References: From: Lukasz Stafiniak Date: Sun, 5 Dec 2010 09:16:37 +0100 Message-ID: Subject: Re: [Caml-list] GADT constructor syntax To: Jacques Le Normand Cc: caml-list caml-list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; lukasz:01 syntax:01 lukasz:01 restricting:01 wrote:01 caml-list:01 constructor:01 constraint:01 int:01 int:01 behaves:02 constraints:03 clarify:04 dec:05 standard:07 On Sun, Dec 5, 2010 at 9:10 AM, Lukasz Stafiniak wrote= : > > I don't think that it is very different. Standard-language constraints > are outside of implications, so they apply to each branch. It already > behaves this way in the standard language, basically restricting the > type family to "int term". So I don't see why > >> | Embed of 'a : 'a term >> =A0 constraint 'a =3D int > > shouldn't mean that Embed is "basically" Embed of int : int term. [To clarify: and the whole family restricted to "int term".]