Breaking example and some refactoring
Fix #594
Merge pull request #605 from purescript/594

Do not use type class instances which are not exported