From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA28939; Wed, 22 May 2002 01:05:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA28942 for ; Wed, 22 May 2002 01:05:23 +0200 (MET DST) Received: from leia.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g4LN5ML25992 for ; Wed, 22 May 2002 01:05:22 +0200 (MET DST) Received: by leia.mandrakesoft.com (Postfix, from userid 505) id 445C24488; Wed, 22 May 2002 01:03:59 +0200 (CEST) To: Ching-Tsun Chou Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Weird typing problem References: <200205212213.g4LMDjQ26439@zws707.sc.intel.com> From: Pixel Date: 22 May 2002 01:03:59 +0200 In-Reply-To: <200205212213.g4LMDjQ26439@zws707.sc.intel.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Ching-Tsun Chou writes: [...] > let list_last = List.hd << List.rev [...] > val list_last : '_a list -> '_a = make it: let list_last l = (List.hd << List.rev) l val list_last : 'a list -> 'a that's monomorphism restriction: http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html#variables_de_types_faibles ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners