Add Prelude as a submodule.
Add Prelude to the workspace.
Link Either against Prelude.
Use Prelude instead of the hand-rolled functions.
Merge pull request #8 from robrix/prelude

Prelude