aboutsummaryrefslogtreecommitdiff
path: root/examples/Test.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-09-11 11:22:29 +0000
committerDavid Waern <david.waern@gmail.com>2009-09-11 11:22:29 +0000
commit96549f4c87d3b4662f8caa20035ab4fb30f65ef3 (patch)
treecdd9611ce53f76784fab46f1f79aee48af814532 /examples/Test.hs
parenta88b0de4a3cb3d183d29af8eefe15b7bbb617125 (diff)
Use Map.fromList/toList intead of fromAscList/toAscList when serializing Maps
This fixes the missing docs problem. The Eq and Ord instances for Name uses the unique number in Name. This number is created at deserialization time by GHC's magic Binary instance for Name, and it is random. Thus, fromAscList can't be used at deserialization time, even though toAscList was used at serialization time.
Diffstat (limited to 'examples/Test.hs')
0 files changed, 0 insertions, 0 deletions