Deriving Data instances for AnnExpr
We have Data instances for CoreExpr
, but not CoreExprWithFVs
.
It will be handy to have these so we can play with it using syb
without writing a lot of biolerplate code.
Right now, we need to workaround by standalone deriving orphan instances for them.
deriving instance (Data a, Data b) => Data (AnnExpr' a b)
deriving instance (Data a, Data b) => Data (AnnBind a b)