caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florian Hars <hars@bik-gmbh.de>
To: Alessandro Baretta <a.baretta@barettadeit.com>
Cc: Hendrik Tews <tews@tcs.inf.tu-dresden.de>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Camlp4 in a Unix pipe
Date: Tue, 22 Nov 2005 19:15:54 +0100	[thread overview]
Message-ID: <4383605A.7030309@bik-gmbh.de> (raw)
In-Reply-To: <43834A5C.3050109@barettadeit.com>

Alessandro Baretta wrote:
> Cool command line! How did you discover the '-' option? 

Out of habit? In the the unix shell monad, "foo >>= bar" happens to be written
as "foo | bar -" ("return" is written "cat", in case you wondered. So "Hey,
that is a useless use of cat!" really means 'Hey, you ignored the monad laws!")

Yours, Florian (time to go home, I know).


  reply	other threads:[~2005-11-22 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 14:20 Alessandro Baretta
2005-11-21  9:39 ` [Caml-list] " Hendrik Tews
2005-11-22 16:42   ` Alessandro Baretta
2005-11-22 18:15     ` Florian Hars [this message]
2005-11-23 11:27       ` Alessandro Baretta
2005-11-24 11:30         ` Hendrik Tews
2005-11-22 22:34     ` Christophe Raffalli
2005-11-23  9:05     ` Hendrik Tews

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=4383605A.7030309@bik-gmbh.de \
    --to=hars@bik-gmbh.de \
    --cc=a.baretta@barettadeit.com \
    --cc=caml-list@inria.fr \
    --cc=tews@tcs.inf.tu-dresden.de \
    /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).