ghci> a <- async (pure 3)
ghci> a' = fmap (+1) a
ghci> a == a'
True
ghci> wait a
3
ghci> wait a'
4
That doesn't make any sense to me. I think it would be better to remove the Eq and Ord instances and just provide custom comparison operations that explicitly operate only on the thread IDs.
That doesn't make any sense to me. I think it would be better to remove the
EqandOrdinstances and just provide custom comparison operations that explicitly operate only on the thread IDs.