Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
983f86ef
Commit
983f86ef
authored
Aug 25, 1999
by
simonmar
Browse files
[project @ 1999-08-25 10:30:36 by simonmar]
Little test for Eq and Ord instances of ThreadId.
parent
68146c5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/tests/concurrent/should_run/conc013.hs
0 → 100644
View file @
983f86ef
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
]
ghc/tests/concurrent/should_run/conc013.stdout
0 → 100644
View file @
983f86ef
[LT,EQ,GT]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment