I've done a package based on the Jules Bean's e-mail [1] to
Haskell-Café, with a more generalized implementation. In the original
version, you could use InterleavableIO with StateT Int IO (), but not
with StateT Int (ReaderT Char IO) (). In this version, this is
possible. The package, interleavableIO, is available at [2]. I've also
done an application that generates a version of a module with
generalized parameters, called interleavableGen, available at [3]. This
is very alpha, and interleavableGen has been tested only with
Control.Exception yet.
Comments are very welcome.
Greetings.
[1]: http://www.haskell.org/pipermail/haskell-cafe/2007-July/028501.html
[2]:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/interleavableIO-0.0.1
[3]:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/interleavableGen-0.0.1
--
Marco Túlio Gontijo e Silva
Página: http://marcotmarcot.googlepages.com/
Blog: http://marcotmarcot.blogspot.com/
Correio: mar...@riseup.net
XMPP: mar...@jabber.org
IRC: mar...@irc.freenode.net
Telefone: 25151920
Celular: 98116720
Endereço:
Rua Turfa, 639/701
Prado 30410-370
Belo Horizonte/MG Brasil
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe