From 3f865a64d74a1879fd082d5e86c279fa085a27b6 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 1 Dec 2023 14:00:15 -0500 Subject: [PATCH] Futz --- prelude.ld | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/prelude.ld b/prelude.ld index 5d72cc9..6dd47e2 100644 --- a/prelude.ld +++ b/prelude.ld @@ -18,7 +18,7 @@ fn count { (xs as :tuple) -> extern (:dec, extern (:count, xs)) } -fn clist { +fn list { "Takes a tuple, and returns it as a list." (xs as :tuple) -> extern (:into, [], extern (:rest, xs)) } @@ -52,8 +52,11 @@ ns math { print ("From Prelude, hello.") ns prelude { + first + nth conj - clist + fold + list } print (prelude)