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)