From a3c5134ee7581168947df8a050c332d7cb7aa426 Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 26 Jun 2023 23:41:21 -0500 Subject: Strings and so much more --- std/stdlib.sloth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std') 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(";"); -- cgit v1.2.3