From: "Chris King" <colanderman@gmail.com>
To: "Keisuke Nakano" <ksk@mist.i.u-tokyo.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Simple idea for making a function infix
Date: Mon, 13 Nov 2006 09:31:06 -0500 [thread overview]
Message-ID: <875c7e070611130631y5dbbb310kd62099e5a5e73bd1@mail.gmail.com> (raw)
In-Reply-To: <1EB857FD-F706-419C-9181-D45DEA88B756@mist.i.u-tokyo.ac.jp>
On 11/13/06, Keisuke Nakano <ksk@mist.i.u-tokyo.ac.jp> wrote:
> We use the following two infix operators.
>
> let ( /* ) x y = y x
> and ( */ ) x y = x y
>
> Then we can make an infix operator /*f*/ for a binary function f.
That's great, I've also wished that O'Caml had syntax like this. I
hope this makes it to the O'Caml FAQ page!
- Chris King
next prev parent reply other threads:[~2006-11-13 14:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-13 7:23 Keisuke Nakano
2006-11-13 14:31 ` Chris King [this message]
2006-11-13 16:19 ` [Caml-list] " Till Varoquaux
2006-11-13 17:45 ` Jean-Christophe Filliatre
2006-11-13 17:58 ` skaller
2006-11-13 18:29 ` Till Varoquaux
2006-11-13 20:31 ` Karl Zilles
2006-11-13 21:06 ` Till Varoquaux
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=875c7e070611130631y5dbbb310kd62099e5a5e73bd1@mail.gmail.com \
--to=colanderman@gmail.com \
--cc=caml-list@inria.fr \
--cc=ksk@mist.i.u-tokyo.ac.jp \
/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