projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-08-01 06:56:20 by qrczak]
[ghc-hetmet.git]
/
ghc
/
tests
/
cpranal
/
should_compile
/
Cpr001.hs
1
module Cpr001
2
(intpInstr) where
3
4
import Cpr001_imp
5
6
-- -------------------------------------------------------------------
7
8
intpInstr :: Instr -> MST ()
9
10
intpInstr (SysCall "exit")
11
= setMTerminated
12
13
intpInstr (SysCall call)
14
= setMSvc call
15
16
-- -------------------------------------------------------------------