caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Compose function for multiple parameters ?
Date: Sun, 1 Jun 2008 10:39:01 +0200	[thread overview]
Message-ID: <200806011039.01942.fmonnier@linux-nantes.fr.eu.org> (raw)
In-Reply-To: <20080531180520.11b32a50@free.fr>

Fabrice Marchant a écrit :
...
> Defining the 2 ops :
> let ( <<- ) f g x = f (g x)
> let ( <<-- ) f g x y = f (g x y)
>
> is it better ?


let ( <>- ) f g x = f (g x)
let ( <><>- ) f g x y = f (g x y)
let ( <><><>- ) f g x y z = f (g x y z)

perhaps?
(more easy to count the number of caracters with this kind of pattern)

-- 
Cheers
Florent


  reply	other threads:[~2008-06-01  8:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31  7:24 Fabrice Marchant
2008-05-31  8:10 ` [Caml-list] " Fabrice Marchant
2008-05-31 11:24   ` Martin Jambon
2008-05-31 16:05     ` Fabrice Marchant
2008-06-01  8:39       ` Florent Monnier [this message]
     [not found]     ` <20080531180149.04e6ac5e@free.fr>
2008-05-31 21:37       ` Martin Jambon
2008-06-01  0:04         ` Robert Fischer
2008-06-01  5:24           ` Fabrice Marchant
2008-06-01  6:16         ` Fabrice Marchant

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=200806011039.01942.fmonnier@linux-nantes.fr.eu.org \
    --to=fmonnier@linux-nantes.fr.eu.org \
    --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).