Commit 983f86ef authored by simonmar's avatar simonmar

[project @ 1999-08-25 10:30:36 by simonmar]

Little test for Eq and Ord instances of ThreadId.
parent 68146c5b
module Main where
-- !!! test Eq and Ord instances over thread Ids.
import Concurrent
main = do
tso1 <- forkIO (return ())
tso2 <- forkIO (return ())
print [compare tso1 tso2, compare tso1 tso1, compare tso2 tso1]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment