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 VAA10405; Mon, 12 Aug 2002 21:57:42 +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 VAA10404 for ; Mon, 12 Aug 2002 21:57:41 +0200 (MET DST) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7CJvdf10512 for ; Mon, 12 Aug 2002 21:57:39 +0200 (MET DST) Received: by mg.ihep.su (Postfix, from userid 65436) id AD422B50B4; Mon, 12 Aug 2002 23:57:37 +0400 (MSD) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by mg.ihep.su (Postfix) with ESMTP id 105A1B5617; Mon, 12 Aug 2002 23:57:33 +0400 (MSD) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.6/8.11.6) with ESMTP id g7CJvGQ08242; Mon, 12 Aug 2002 23:57:16 +0400 Date: Mon, 12 Aug 2002 23:57:15 +0400 (MSD) From: Vitaly Lugovsky To: Tim Freeman Cc: Subject: Re: [Caml-list] Why are type functions postfix? In-Reply-To: <20020812190521.587CF7F66@lobus.fungible.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 12 Aug 2002, Tim Freeman wrote: > > In OCAML and other ML dialects I've used, you say: > > let x: int ref = ref 3 > > Is there any reason that type functions like the first "ref" are > postfix, unlike function application like the second "ref" that is > prefix? > > If it's just history and there's no good reason, that's fine by me. > I'm just curious. It's not a function at all - it's just a constraint. ------------------- 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