/bfpg-isolating-effects-with-monads

Code demonstration for BFPG 2013-04. A transformation from imperative to functional code using reader , writer and state.

Primary LanguageScala

A quick talk wrangled together for chatting through the reader, writer and state monads and how they are useful to move from imperative code to functional looking code.

This talk was written for the Brisbane Functional Programming Group 2013-04-23.

Best to run these examples in sbt.

Run sbt console and go Start.main( "test.xml" ) to run the first version.