aboutsummaryrefslogtreecommitdiff
path: root/examples/guessing.sloth
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guessing.sloth')
-rw-r--r--examples/guessing.sloth8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/guessing.sloth b/examples/guessing.sloth
index f88c35b..49c0bde 100644
--- a/examples/guessing.sloth
+++ b/examples/guessing.sloth
@@ -1,11 +1,3 @@
-foreign fn print();
-foreign fn println();
-foreign fn readln() String;
-foreign fn random(min: Int, max: Int) Int;
-foreign fn parse_int(str: String) Int;
-foreign fn randGen(min: Int, max: Int) Int;
-foreign fn istr(x: Int) String;
-
fn main() Int {
var computer: Int = randGen(1, 10);
var tries: Int = 0;