Closed isovector closed 3 years ago
The fixity of a binding is controlled by the mc_fixity parameter of the HsMatchContext on a Match. ghc-source-gen forces this parameter to be Prefix, but it would be nice to have the option to control this.
mc_fixity
HsMatchContext
Match
ghc-source-gen
Prefix
This is actually a surprisingly hard thing to work around, since all of the necessary bits to patch are marked in internal modules.
The fixity of a binding is controlled by the
mc_fixity
parameter of theHsMatchContext
on aMatch
.ghc-source-gen
forces this parameter to bePrefix
, but it would be nice to have the option to control this.