caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ben kuin <benkuin@gmail.com>
To: caml-list@inria.fr
Subject: why is the forward pipe operator (>|) so little used?
Date: Sat, 2 Oct 2010 20:22:14 +0200	[thread overview]
Message-ID: <AANLkTime9KkhtrobQv53gxgPvr2mYyz3Z9dZRwuyaax8@mail.gmail.com> (raw)

hi
Reading a few introduction F# articles and presentations I made the
observation that the forward pipe operator is widely popular. Its also
a language feature that, when it comes  up on blogposts or on
stackoverflow, its  presented as a special F# feature.
In the Ocaml world the pipe doesn't have a special place. I doesn't
come up in any of the Ocaml Books (print or pdf) and hardly any
internet articles or blog posts. For example Jon Harrop mentions the
pipe in one of his F# books but not in the Ocaml for Scientists book.
Looking at the mentioned F# code, I think the usage of the pipe has an
( imho positive) impact on the style and the readability of the code.
But obviously the proficient Ocaml folks don't use it - could someone
may explain the reason(s)?
thanks
ben


             reply	other threads:[~2010-10-02 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-02 18:22 ben kuin [this message]
2010-10-02 22:45 ` [Caml-list] " Hezekiah M. Carty

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=AANLkTime9KkhtrobQv53gxgPvr2mYyz3Z9dZRwuyaax8@mail.gmail.com \
    --to=benkuin@gmail.com \
    --cc=caml-list@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).