caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jonathan Roewen <jonathan.roewen@gmail.com>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] composing functions...
Date: Thu, 1 Dec 2005 15:00:28 +1300	[thread overview]
Message-ID: <ad8cfe7e0511301800n1b77af6bp2eb643b9800ae323@mail.gmail.com> (raw)
In-Reply-To: <1133400888.20197.40.camel@rosella>

Okay, how about something different.

How could I do some sort of composing where I pass objects and
arguments to be applied.

Something like let f arg1 arg2 = obj1 arg1 --> obj2 arg2, where the
function/operator would call the correct method on the object, passing
the argument to it.

Jonathan


  reply	other threads:[~2005-12-01  2:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01  0:55 Jonathan Roewen
2005-12-01  1:34 ` skaller
2005-12-01  2:00   ` Jonathan Roewen [this message]
2005-12-01  8:46   ` Daniel Bünzli
2005-12-01  1:38 ` Pietro Abate

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=ad8cfe7e0511301800n1b77af6bp2eb643b9800ae323@mail.gmail.com \
    --to=jonathan.roewen@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=skaller@users.sourceforge.net \
    /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).