OK now the dust has settled I have, thanks to Simon P and Julian, a working Eq and Ord for ThreadIds. Attached is a version of the code they sent me. Note it must be compiled with -fglasgow-exts. It would be nice if this appeared in or near ghc/lib/Concurrency.lhs before very long . . .
- ThreadId should be Eq and Ord!!!!! George Russell
- RE: ThreadId should be Eq and Ord!!!!! Simon Peyton-Jones
- RE: ThreadId should be Eq and Ord!!!!! Simon Peyton-Jones
- RE: ThreadId should be Eq and Ord!!!!! Julian Seward (Intl Vendor)
- RE: ThreadId should be Eq and Ord!!!!... George Russell
- RE: ThreadId should be Eq and Ord!!!!! Simon Peyton-Jones
threadeq.tar.gz