projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1998-12-02 13:17:09 by simonm]
[ghc-hetmet.git]
/
ghc
/
interpreter
/
test
/
exts
/
refs3.hs
1
--!!! Testing typechecking of runST
2
module RunSTTest where
3
4
import ST
5
6
t1 = runST (return '1')
7
8
t2 = runST (do
9
v <- newSTRef '2'
10
readSTRef v
11
)
12