Re: How to highlighting subexpressions in dumped core?

2018-03-07 Thread Joachim Breitner
Hi, Am Mittwoch, den 07.03.2018, 12:14 + schrieb Simon Peyton Jones via Glasgow-haskell-users: > I'm not keen on adding more Tick complexity -- it's a bit out of hand > already, and all transformations must "do the right thing". > > AnnExpr adds an annotation at every node. You could, I gues

RE: How to highlighting subexpressions in dumped core?

2018-03-07 Thread Simon Peyton Jones via Glasgow-haskell-users
I'm not keen on adding more Tick complexity -- it's a bit out of hand already, and all transformations must "do the right thing". AnnExpr adds an annotation at every node. You could, I guess use that to annotate -- but then you'd need a pretty printer for it so you'd end up with duplication.