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 PAA17452; Fri, 23 Aug 2002 15:58:13 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA17921 for ; Fri, 23 Aug 2002 15:58:12 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7NDw3v01182; Fri, 23 Aug 2002 15:58:03 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA17793; Fri, 23 Aug 2002 15:58:02 +0200 (MET DST) Date: Fri, 23 Aug 2002 15:58:02 +0200 From: Xavier Leroy To: Sven LUTHER Cc: Tim Freeman , caml-list@inria.fr Subject: Re: [Caml-list] Why are type functions postfix? Message-ID: <20020823155802.A16529@pauillac.inria.fr> References: <20020812190521.587CF7F66@lobus.fungible.com> <20020823112404.C28346@pauillac.inria.fr> <20020823123832.GA940@iliana> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20020823123832.GA940@iliana>; from luther@dpt-info.u-strasbg.fr on Fri, Aug 23, 2002 at 02:38:32PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Is it not because in the type notation, int ref is similar to int list, > while in the function application, ref 3 is similar to a constructor > application like Some 3 for example ? Yes, of course. But the original question was: all function or data constructor applications (in expressions) are prefix, while type constructor applications (in type expressions) are postfix; why? Answer: ask Robin Milner :-) - Xavier Leroy ------------------- 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