Interpreter using State Monad

From: Markus Mottl (mottl@miss.wu-wien.ac.at)
Date: Tue Oct 19 1999 - 23:15:21 MET DST


From: Markus Mottl <mottl@miss.wu-wien.ac.at>
Message-Id: <199910192015.WAA17589@miss.wu-wien.ac.at>
Subject: Interpreter using State Monad
To: caml-list@inria.fr (OCAML)
Date: Tue, 19 Oct 1999 22:15:21 +0100 (MET DST)

Hello,

if you ever wanted to know, whether it is of any use (is it?) to implement
an interpreter of an imperative language in monadic style in OCaml, you
might want to take a look at the toy implementation of the semantics of
"IMP", which comes in two versions: monadic style and using explicit
passing of state.

  -> http://miss.wu-wien.ac.at/~mottl/ocaml_sources/intro.html

The monadic style version will probably only please the purists among
you... ;-)

Regards,
Markus Mottl

-- 
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:27 MET