Skip to content

Match is missing a Data instance

If I try to use showAstData on a Match then GHC complains that there is no Data instance.

No instance for (Data (Expr.Match p (Expr.LHsExpr p)))

It seems that all the constituent parts of Match have a Data instance so Match should as well.

Trac metadata
Trac field Value
Version 8.4.3
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information