Adding helper methods for enums and enumvalues. This gives better high order functions to the types.
Merge branch 'refresh' of https://github.com/SimonRichardson/funk into actors