aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-26 23:41:21 -0500
committerCody <cody@codyq.dev>2023-06-26 23:41:21 -0500
commita3c5134ee7581168947df8a050c332d7cb7aa426 (patch)
tree01631812f37e4c3d124928a14f169796c58a7a0e /std
parent8c9bd55e161ba5fcaea626a1db2e0b685ac4f096 (diff)
downloadsloth-a3c5134ee7581168947df8a050c332d7cb7aa426.tar.gz
Strings and so much more
Diffstat (limited to 'std')
-rw-r--r--std/stdlib.sloth4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/stdlib.sloth b/std/stdlib.sloth
index d7ddeff..cc404f6 100644
--- a/std/stdlib.sloth
+++ b/std/stdlib.sloth
@@ -1,10 +1,10 @@
foreign fn wait(x: Int) Void;
foreign fn print(str: String) Void;
foreign fn slen(str: String) Int;
-foreign fn charAt(str: String) Char;
+# foreign fn charAt(str: String) Char;
foreign fn parse_int(str: String) Int;
-fn termpos(x: int, y: int) Void {
+fn termpos(x: Int, y: Int) Void {
print("\x1b[");
print(x);
print(";");