From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 3820FBBAF for ; Sat, 2 Oct 2010 20:22:28 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQCAJ4Vp0zRVda2kGdsb2JhbACUOY1/CBUBAQEBCQkMBxEDH6dxiUSCF4V4LohVAQEDBYU/BIo8 X-IronPort-AV: E=Sophos;i="4.57,271,1283724000"; d="scan'208";a="76351475" Received: from mail-iw0-f182.google.com ([209.85.214.182]) by mail1-smtp-roc.national.inria.fr with ESMTP; 02 Oct 2010 20:22:15 +0200 Received: by iwn10 with SMTP id 10so337335iwn.27 for ; Sat, 02 Oct 2010 11:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ojABR5tloY6TGNOs/6h4fYGHqStFKsdU1ajfIgM9f3g=; b=q5STkYZ13uYvF5D3bY0jQI2icHxx2w7TOg1LnHU9Mb9heXgZHPMn9P4HfYrQjDdUH7 4ahknTL34Zcc5TsGSZe0H1lu0ZbgxD/56ttPMkcEzSKcZ+R/QA/qkStHSbuspNGga2ca //PAa6GRiVTEX1m0/kOeeHE0BYDuH/rXsxWhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WCHctpS/fjL+3KBOViephOgjNeFZk8ed57XAWsFvmJBLYAE8t/IuKnKtI9bsCI/FEP iy0eM5sIM9IaFU5TJu2bx1QGdiW44dFTwa6vccf3UWmBMd9pFqZpYoRHeKi34wCK5EWQ aFMLLYUp/CX37soT6zFOR70n/IXykLQuzk0dg= MIME-Version: 1.0 Received: by 10.231.11.13 with SMTP id r13mr6278976ibr.137.1286043734820; Sat, 02 Oct 2010 11:22:14 -0700 (PDT) Received: by 10.231.174.130 with HTTP; Sat, 2 Oct 2010 11:22:14 -0700 (PDT) Date: Sat, 2 Oct 2010 20:22:14 +0200 Message-ID: Subject: why is the forward pipe operator (>|) so little used? From: ben kuin To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocaml:01 ocaml:01 blog:98 imho:01 readability:05 style:93 feature:09 feature:09 example:10 explain:11 mentions:11 doesn't:12 doesn't:12 internet:87 folks:12 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