Skip to content

TH.Lift instance for Name

Motivation

There is no Lift instance for Name. There used to be one in th-lift. I'm not sure if there's a good reason not to have this, but otherwise it would be nice to have.

The example where I wanted this is something like this: I'm generating a lot of types in a TH splice, and I want to also generate a list of all the type names that I can then use later (e.g. to call makeLenses on them in another module).

Proposal

Add an instance.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information