caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Paolo Donadeo" <p.donadeo@gmail.com>
To: "caml-list caml-list" <caml-list@yquem.inria.fr>
Subject: Disappointment
Date: Mon, 21 Jul 2008 23:28:36 +0200	[thread overview]
Message-ID: <4b5157c30807211428r19ef9865n6a65e81ac2f5fe31@mail.gmail.com> (raw)

I'm disappointed with myself and my incredibly low IQ. Late this
evening I decided -- and this is the third time -- to be enlightened
by the concept of monad.

I like functional programming, but monads [1] must be too little to be
grabbed by my mind. This time the interest in monads was aroused by
the interesting article of David Teller, Arnaud Spiwack and Till
Varoquaux [2] about the error monad, but for using the library they
wrote I need at least some knowledge about monads and the do-notation.

I tried with some tutorials found around, but I still cannot catch the
point: what the hell is a monad?

I ask you all: can anyone make me a practical example, something
involving strings, files, the network, an image or sound processing
algorithm, something vaguely real? Not abstract mathematical
structures, beautiful algebraic properties and general statements,
please: the net is full of such tutorials, especially Haskell fan
sites ;-)

Thanks in advance for your patience.


[1] http://en.wikipedia.org/wiki/Monad_(symbol)
[2] http://www.univ-orleans.fr/lifo/Members/David.Teller/publications/ml2008.pdf


-- 
Ing. Paolo Donadeo
Studio Associato 4Sigma
Website: http://www.4sigma.it
Personal website: http://www.donadeo.net/blog
~
~
:wq


             reply	other threads:[~2008-07-21 21:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 21:28 Paolo Donadeo [this message]
2008-07-21 21:42 ` [Caml-list] Disappointment Till Crueger
2008-07-22  3:41   ` Fabrice Marchant
2008-07-22  6:50 ` Gabriel Kerneis
2008-07-22 10:56 ` Dr. Thomas Fischbacher
2008-07-22 13:27   ` Axel Poigné
2008-07-22 15:17     ` Andrej Bauer
2008-07-22 15:21       ` Axel Poigné
2008-07-22 12:57 ` Nicolas Pouillard
2008-07-22 13:16   ` Dario Teixeira
2008-07-22 16:11   ` Christophe TROESTLER
2008-07-22 21:55   ` Paolo Donadeo
2008-07-22 16:10 ` Warren Harris

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=4b5157c30807211428r19ef9865n6a65e81ac2f5fe31@mail.gmail.com \
    --to=p.donadeo@gmail.com \
    --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).