From: David MENTRE <dmentre@linux-france.org>
To: Malcolm Matalka <mmatalka@gmail.com>
Cc: Francois Berenger <berenger@riken.jp>, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] some beautiful OCaml code
Date: Thu, 10 Jan 2013 09:13:49 +0100 [thread overview]
Message-ID: <CAC3Lx=Z_gg6qnyLvSr8OkafYCYoW=DwWWWpeZXQOuDGqpqzMig@mail.gmail.com> (raw)
In-Reply-To: <878v82r7ql.fsf@li195-236.members.linode.com>
Hello,
2013/1/9 Malcolm Matalka <mmatalka@gmail.com>:
> The problem polymorphic variants are solving here is that if you want to
> sequence unrelated functions but return their errors, you have to join
> their return types with the return types of the function that is calling
> them. Polymorphic variants basically do this for you without every
> function defining its own error return variant.
Thank you Malcolm, Gerd and Kristopher for the helpful comments.
Best regards,
david
next prev parent reply other threads:[~2013-01-10 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 3:48 Francois Berenger
2013-01-09 8:38 ` David MENTRE
2013-01-09 10:06 ` Malcolm Matalka
2013-01-10 8:13 ` David MENTRE [this message]
2013-01-09 13:15 ` AW: " Gerd Stolpmann
2013-01-09 14:15 ` Kristopher Micinski
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='CAC3Lx=Z_gg6qnyLvSr8OkafYCYoW=DwWWWpeZXQOuDGqpqzMig@mail.gmail.com' \
--to=dmentre@linux-france.org \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
--cc=mmatalka@gmail.com \
/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