summaryrefslogtreecommitdiff
path: root/code/lib
diff options
context:
space:
mode:
Diffstat (limited to 'code/lib')
-rw-r--r--code/lib/print.felan7
1 files changed, 6 insertions, 1 deletions
diff --git a/code/lib/print.felan b/code/lib/print.felan
index fd6663c..2680921 100644
--- a/code/lib/print.felan
+++ b/code/lib/print.felan
@@ -1,3 +1,8 @@
+print :: (value:bool)->void{
+ if value print("true");
+ else print("false");
+};
+
print :: (value:u8)->void{
putc value;
};
@@ -164,4 +169,4 @@ print :: (value:u64)->void{
} {}
print_reverse(result, i - 1);
-}; \ No newline at end of file
+};