Skip to content

Use Template Haskell to generate the code for generic showb/showt/showtl #33

Open
@RyanGlScott

Description

@RyanGlScott

By a series unusual circumstances, I generate all of the code used for generically implementing showbPrec, showtPrec, and showtlPrec... using CPP. And it's seriously ugly.

We should replace this with Template Haskell quotes, which will (1) make this look more like actual Haskell code, and (2) make it much more maintainable in the future.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions