Implementation of Overloaded Record Fields based on current GHC proposal.
It is built on top of functionality that is included in GHC 8.0.1, but it
works on older GHC versions as well. Most importantly, this library provides
Template Haskell functions for automatic deriving of instancess for
HasField and ModifyField type classes. With these instances overloaded
fields can be used directly as getters and lenses.
See README for usage examples.
More about the current status of OverloadedRecordFields language extension
can be found on:
GHC Wiki: OverloadedRecordFields.