I think sometimes #Haskell's fights lazy/write maintainable code (an ecosystem problem?).
I just wanted to turn arbitrary data types with record syntax into key/value Text pairs. Otherwise I'd need to tediously maintain (and probably be open to mistakes and inconsistencies) boilerplate for each such type.
I'm doing this because I want to make some type(s) {{accessible}} to a templating system.
Look how complicated it is: https://gist.github.com/someodd/b717a1b9679e631463bd262338b1d932
Please tell me I'm wrong/show me a better way.