Changelog for lift-data-0.1.0
0.2 [2020.09.30]
-
genericLiftTypedandgenericLiftTypedWithPkgnow return aCodeinstead of aTExpto reflect the type ofliftTypedchanging intemplate-haskell-2.17.0.0. New functionsgenericLiftTypedTExpandgenericLiftTypedTExpWithPkghave been added for those who wish to returnTExpspecifically. In addition, the functionsgenericLiftTypedCompatandgenericLiftTypedCompatWithPkghave been introduced which return aCodeontemplate-haskell-2.17.0.0or later, but aTExpon older versions oftemplate-haskell. These functions are most useful for implementingliftTypedin aLiftinstance in a backwards-compatible way.The
th-compatlibrary is used to backport theCodedata type back to versions oftemplate-haskellthat do not define it. -
The functions in
Language.Haskell.TH.Lift.Genericsare now generalized to work over anyQuoteinstance instead of hardcodingQ. Again, theth-compatlibrary is used to backportQuoteto old versions oftemplate-haskellthat do not define it. -
Make
genericLiftwork properly for empty data types.
0.1.3 [2019.11.26]
- Add
genericLiftTypedandgenericLiftTypedWithPkg.
0.1.2
- Add a case for
V1(i.e., empty data types), which diverges in the way you'd expect.
0.1.1
- Fix test suite on GHC 8.0
0.1
- Initial commit