Hotswap

GitHub project.

Hotswap is a simple, high level interface to plugins for hotswapping Haskell code in a simple and automatable manner.

Demo application: gambling.

Main.hs

Plugin.hs

Then, to compile and run this, I run in a shell:

Pretty mundane. But, lets say I want to change what happens when you guess incorrectly.

And there we have it, hotswapping!

Todo