caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: dmitry grebeniuk <gdsfh1@gmail.com>
To: Serge Le Huitouze <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Option functions (or lack thereof) + operator for composition
Date: Tue, 16 Nov 2010 16:19:43 +0200	[thread overview]
Message-ID: <AANLkTik_r25TQZ3DgPr8pqTqbv+sDDHp6WnEmrJoAb1e@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimoTq9Pev-xBDSQ+jKN86RnBDeV91t15anR-DAu@mail.gmail.com>

Hello.

> So I have to learn the precedence and associaticity table in section 6.7 of
> OCaml's reference manual!!!

  I usually redefine (&) operator: let ( & ) f x = f x
  It's ok until you don't use JoCaml which defines keyword "&".
  Also take a look at other infix operators I use, maybe you found them
useful too: http://bitbucket.org/gds/ops/src/tip/ops.ml (comments are
in russian and in OCaml, I'll translate russian text to english at first
request, it's not hard for me, but it seems that OCaml code in comments
describes the usage well enough).


  reply	other threads:[~2010-11-16 14:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 11:27 Serge Le Huitouze
2010-11-16 11:49 ` [Caml-list] " David Allsopp
2010-11-16 14:23   ` Michael Ekstrand
2010-11-16 13:30 ` Jacques Garrigue
2010-11-16 13:52   ` Serge Le Huitouze
2010-11-16 14:19     ` dmitry grebeniuk [this message]
2010-11-16 14:26 ` Michael Ekstrand
2010-11-16 15:18   ` bluestorm
2010-11-16 15:26 ` bluestorm
     [not found] <1853021343.44703.1289906871683.JavaMail.root@zmbs4.inria.fr>
2010-11-16 11:43 ` Thomas Gazagnaire
2010-11-16 11:51   ` Gabriel Kerneis
2010-11-16 17:45     ` Martin Jambon

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=AANLkTik_r25TQZ3DgPr8pqTqbv+sDDHp6WnEmrJoAb1e@mail.gmail.com \
    --to=gdsfh1@gmail.com \
    --cc=caml-list@yquem.inria.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;
as well as URLs for NNTP newsgroup(s).