From: Stephane Glondu <Stephane.Glondu@crans.org>
To: caml-list@yquem.inria.fr
Cc: "Quôc Peyrot" <chojin@lrde.epita.fr>
Subject: Re: [Caml-list] right-associating infix application operator camlp4 extension
Date: Wed, 10 Aug 2005 21:50:13 -0700 [thread overview]
Message-ID: <200508102150.13967.Stephane.Glondu@crans.org> (raw)
In-Reply-To: <07A35039-4D77-4F7B-B0CC-A0247FBA14D0@lrde.epita.fr>
On Wednesday 10 August 2005 20:04, Quôc Peyrot wrote:
> Thanks a lot for the answers.
> Strangely I couldn't find $ in this documentation, but
> let ($) f x = f x
> seems to work.
You can use $ as an infix operator according to:
http://caml.inria.fr/pub/docs/manual-ocaml/manual009.html
And it is left-associative, as said in:
http://caml.inria.fr/pub/docs/manual-ocaml/manual015.html
But as far as I understood, Haskell's $ is right-associative.
--
Stephane Glondu
next prev parent reply other threads:[~2005-08-11 4:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-06 23:03 Quôc Peyrot
2005-08-07 8:23 ` [Caml-list] " Christian Lindig
2005-08-10 6:21 ` osiire
2005-08-10 7:38 ` Jean-Marie Gaillourdet
2005-08-10 7:50 ` David MENTRE
2005-08-11 3:04 ` Quôc Peyrot
2005-08-11 4:50 ` Stephane Glondu [this message]
2005-08-11 10:41 ` Christian Lindig
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=200508102150.13967.Stephane.Glondu@crans.org \
--to=stephane.glondu@crans.org \
--cc=caml-list@yquem.inria.fr \
--cc=chojin@lrde.epita.fr \
/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