From: Jeremy Yallop <yallop@gmail.com>
To: "Christoph Höger" <choeger@umpa-net.de>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Transforming side-effects to a monad
Date: Thu, 23 Mar 2017 20:59:32 +0000 [thread overview]
Message-ID: <CAAxsn=Eu8m-_EE6gNsZZRHgFR35C-h_UaSQi37exjJ9eO1CUfw@mail.gmail.com> (raw)
In-Reply-To: <5af3b33f-d4eb-05dc-d774-b42f63275776@umpa-net.de>
Dear Christoph,
On 23 March 2017 at 19:56, Christoph Höger <choeger@umpa-net.de> wrote:
> For a suitable definition of bind and return, both programs behave
> equivalently. My question is: How can one automatically translate a
> program of the former kind to the latter?
You might be interested in the following paper, which describes
exactly such a translation:
Lightweight Monadic Programming in ML
Nikhil Swamy, Nataliya Guts, Daan Leijen, and Michael Hicks
ICFP 2011
https://www.cs.umd.edu/~mwh/papers/swamy11monad.html
Kind regards,
Jeremy
next prev parent reply other threads:[~2017-03-23 20:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 19:56 Christoph Höger
2017-03-23 20:59 ` Jeremy Yallop [this message]
2017-05-09 13:40 ` Oleg
2017-05-09 17:15 ` Yaron Minsky
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='CAAxsn=Eu8m-_EE6gNsZZRHgFR35C-h_UaSQi37exjJ9eO1CUfw@mail.gmail.com' \
--to=yallop@gmail.com \
--cc=caml-list@inria.fr \
--cc=choeger@umpa-net.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