Skip to content

Conversation

Shimuuar
Copy link
Contributor

  • Use DerivingVia to define instances
  • Inline definitions of instances for tuples into D.V.Unboxed.Base. I greatly prefer when definitions appear in normal haskell file instead of well hidden file and sprinkled a bit of CPP on top
  • Use DerivingVia instead of CPP to derive instances in the test suite.

With this PW we use CPP only for conditional compilation

I greatly prefer that instances for tuples are inlined into normal haskell files
instead of being included using some CPP magic from well hidden file.

They still could be regenerated if so desired.
Now we don't use CPP except for conditional comilation
@Shimuuar Shimuuar merged commit 8831276 into master Sep 29, 2025
22 checks passed
@Shimuuar Shimuuar deleted the unbox-deriving-via branch September 29, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant