Normally, I like to avoid using underscores in the names of TH-generated variables, as they can sometimes mask bugs in TH code generation. In the case of #89, however, it was observed that deriveBifoldable can genuinely generate code where one of the variables in a lambda expression is never used. This fixes #89 by prefixes those variables with an underscore to avoid the generated code from triggering -Wunused-matches warnings.
Normally, I like to avoid using underscores in the names of TH-generated variables, as they can sometimes mask bugs in TH code generation. In the case of #89, however, it was observed that
deriveBifoldable
can genuinely generate code where one of the variables in a lambda expression is never used. This fixes #89 by prefixes those variables with an underscore to avoid the generated code from triggering-Wunused-matches
warnings.