goldfirere / singletons

Fake dependent types in Haskell using singletons
286 stars 36 forks source link

Make `Sing` instances more explicit on their left-hand sides #602

Closed RyanGlScott closed 3 months ago

RyanGlScott commented 4 months ago

This makes it clearer what the Sing instances are actually matching on. Moreover, this will be required in order to make these instances compile after GHC#23515 is implemented.

This resolves the "Sing instances without explicit left-hand sides" section of #601.