caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
Cc: Tim Freeman <tim@fungible.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Why are type functions postfix?
Date: Fri, 23 Aug 2002 15:58:02 +0200	[thread overview]
Message-ID: <20020823155802.A16529@pauillac.inria.fr> (raw)
In-Reply-To: <20020823123832.GA940@iliana>; from luther@dpt-info.u-strasbg.fr on Fri, Aug 23, 2002 at 02:38:32PM +0200

> 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


  reply	other threads:[~2002-08-23 13:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 19:02 Tim Freeman
2002-08-12 19:57 ` Vitaly Lugovsky
2002-08-23  9:24 ` Xavier Leroy
2002-08-23 12:38   ` Sven LUTHER
2002-08-23 13:58     ` Xavier Leroy [this message]
2002-08-13  0:49 Arturo Borquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020823155802.A16529@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=luther@dpt-info.u-strasbg.fr \
    --cc=tim@fungible.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).