From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q46AdjR9025124 for ; Sun, 6 May 2012 12:39:45 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgCAKVUpk/ZSMDjgGdsb2JhbABDjTGlOiIBAQsLCxsDJIIMAQEEATo/BQsLISUPAQQNGyETh38BAwYJrz4fKw2JU4oXhwgEm2GDd4Flh24 X-IronPort-AV: E=Sophos;i="4.75,538,1330902000"; d="scan'208";a="156936849" Received: from fmmailgate02.web.de ([217.72.192.227]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 May 2012 12:39:39 +0200 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 561C31C445D0E for ; Sun, 6 May 2012 12:39:39 +0200 (CEST) Received: from frosties.localnet ([95.208.118.96]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0M8iaa-1SJJtX0CCK-00CACV; Sun, 06 May 2012 12:39:39 +0200 Received: from mrvn by frosties.localnet with local (Exim 4.77) (envelope-from ) id 1SQysM-0008BV-I5; Sun, 06 May 2012 12:39:38 +0200 From: Goswin von Brederlow To: Gabriel Scherer Cc: Goswin von Brederlow , caml-list@inria.fr References: <87lil64p0p.fsf@frosties.localnet> Date: Sun, 06 May 2012 12:39:38 +0200 In-Reply-To: (Gabriel Scherer's message of "Sat, 5 May 2012 17:54:30 +0200") Message-ID: <87fwbdsidx.fsf@frosties.localnet> User-Agent: Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V02:K0:R+LD8RXO72PwAPyRVIg26Q+u6QSxvJLbhmELQD0coX0 al5vysR1cubR7JYdOVwqnA+V+kacWm59qqNiol7yKcMr9LZrBI 51+JphwFt6OQMdMK35MXUOimzcTVedlNiJAj+Ugk3km+YCkYC+ Tm8E0NfG3o2jeE2rUGUIrvYBT55LiyCSHP0lUTGxLwSl7bA4w3 gZcsK59to9tXSfAzKcWUA== Subject: Re: [Caml-list] How do I declare a value of 'a t instead of '_a t in a module? Gabriel Scherer writes: > You need to specify in the signature that ('a t) is contravariant: > type +'a t Thanks, that was what I was looking for. Why can I never find this in the docs when I need it? :) MfG Goswin