Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <filliatr@lri.fr>
To: "Till Varoquaux" <till.varoquaux@gmail.com>
Cc: "Keisuke Nakano" <ksk@mist.i.u-tokyo.ac.jp>, caml-list@inria.fr
Subject: Re: [Caml-list] Simple idea for making a function infix
Date: Mon, 13 Nov 2006 18:45:18 +0100	[thread overview]
Message-ID: <17752.44846.608583.347799@serveur9-10.lri.fr> (raw)
In-Reply-To: <9d3ec8300611130819q7e13d5f4mb84b9fb1a2ac74ae@mail.gmail.com>


Till Varoquaux writes:
 > I don't really understand the point of the */ operator i your
 > definition. 

I guess it is only aesthetic.

 > > We use the following two infix operators.
 > >    let ( /* ) x y = y x
 > >
 > It's fuy ecause I've cosiderig the same problem recetly ad
 > came dow to this approach ( I'm redefining(@)... oe c )

There is actually an instance of this infix operator in the ocaml
sources (in asmcomp/asmgen.ml for instance). It is used to compose the
various passes of the compiler.

-- 
Jean-Christophe


  reply	other threads:[~2006-11-13 17:45 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 ` [Caml-list] " Chris King
2006-11-13 16:19 ` Till Varoquaux
2006-11-13 17:45   ` Jean-Christophe Filliatre [this message]
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=17752.44846.608583.347799@serveur9-10.lri.fr \
    --to=filliatr@lri.fr \
    --cc=caml-list@inria.fr \
    --cc=ksk@mist.i.u-tokyo.ac.jp \
    --cc=till.varoquaux@gmail.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