diff options
author | Camil Staps | 2016-01-28 20:27:19 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-28 20:27:19 +0100 |
commit | aa5ad07bb3c56a8d013cb76a693afefe0d28cfd5 (patch) | |
tree | 604c61592c3aeb35875a6af4c2181003d70db26a /cleanc.icl |
Inital commit
Diffstat (limited to 'cleanc.icl')
-rw-r--r-- | cleanc.icl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cleanc.icl b/cleanc.icl new file mode 100644 index 0000000..b3f037c --- /dev/null +++ b/cleanc.icl @@ -0,0 +1,17 @@ +implementation module cleanc + +puti :: !Int !*State -> *State +puti i s = code inline { + ccall puti "I:V:I" +} + +call :: !String !*State -> *State +call f s = code inline { + ccall call "S:V:I" +} + +geti :: !*State -> (!Int, !*State) +geti s = code inline { + ccall geti ":I:I" +} + |