From: Vitaly Lugovsky <vsl@ontil.ihep.su>
To: Tim Freeman <tim@fungible.com>
Cc: <caml-list@inria.fr>
Subject: Re: [Caml-list] Why are type functions postfix?
Date: Mon, 12 Aug 2002 23:57:15 +0400 (MSD) [thread overview]
Message-ID: <Pine.LNX.4.33.0208122355500.6886-100000@ontil.ihep.su> (raw)
In-Reply-To: <20020812190521.587CF7F66@lobus.fungible.com>
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
next prev parent reply other threads:[~2002-08-12 19:57 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 [this message]
2002-08-23 9:24 ` Xavier Leroy
2002-08-23 12:38 ` Sven LUTHER
2002-08-23 13:58 ` Xavier Leroy
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=Pine.LNX.4.33.0208122355500.6886-100000@ontil.ihep.su \
--to=vsl@ontil.ihep.su \
--cc=caml-list@inria.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