
#15528: Match is missing a Data instance -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Keywords: newcomer | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15528 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler