binary
binary copied to clipboard
Check 'fromDistinctAscList' invariants when deserializing containers
Brought up here.
Check that the keys of Set/Map/IntSet/IntMap really are ascending
when deserializing. This requires adding an extra Ord constraint to
the Set and Map instances.
If the keys are not ascending, we fail.