an erlang monad?

Vlad Dumitrescu <>
Thu Mar 3 08:41:42 CET 2005


Hi,

Just a thought about this.

It is important to be able to access the state even somewhere in-between the
sequence, and it should be easy to do so too.

The reasons are two:
  * one may need this state later on (I almost never have more than 3 levels
where the intermediary state isn't needed)
  * easily inserting (and removing) debugging traces is very useful for finding
out what went wrong.

regards,
Vlad



More information about the erlang-questions mailing list