CostCentre: Use Unique where appropriate
Changes PlannedPublic

Authored by bgamari on Nov 2 2017, 10:46 AM.



Previously we would use Int where Unique was meant since we previously couldn't
derive Data for Unique. This is no longer the case so fix this.

bgamari created this revision.Nov 2 2017, 10:46 AM

It turns out that this is a bit tricky since we need an Ord instance for Unique. It seems that profiling builds are likely non-deterministic for this reason. I've opened Trac #14413 to track this.

bgamari planned changes to this revision.Nov 2 2017, 11:23 AM
austin resigned from this revision.Nov 9 2017, 5:43 PM