Hi list, just for the fun of sharing, I wanted to show that I translated
the State Monad from Haskell into PicoLisp:


One would perhaps want to write some more syntactic sugar to make it as
convenient to use as the Haskell version.

I think for the most part picolispers would not find the state monad
useful. However, I could conceive of myself using it in a game or
simulation where a single "World" variable is constantly be referenced
and modified, allowing me to pass it around in clean FP style without
making it an explicit parameter.


UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to