Rewrite code to use RecordWildCards and RecordPuns extensions
We have lots of constructors/pattern matching that look like this:
X a b c d e f
This requires mental parsing of paramters a
, b
, etc. It's better to use the RecordWildCards
and RecordPuns
extensions:
- https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/record_wildcards.html
- https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/record_puns.html#record-puns
Here's a sample: !49 (f3e6e57d)