Futz
This commit is contained in:
parent
792ce12617
commit
3f865a64d7
|
@ -18,7 +18,7 @@ fn count {
|
||||||
(xs as :tuple) -> extern (:dec, extern (:count, xs))
|
(xs as :tuple) -> extern (:dec, extern (:count, xs))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn clist {
|
fn list {
|
||||||
"Takes a tuple, and returns it as a list."
|
"Takes a tuple, and returns it as a list."
|
||||||
(xs as :tuple) -> extern (:into, [], extern (:rest, xs))
|
(xs as :tuple) -> extern (:into, [], extern (:rest, xs))
|
||||||
}
|
}
|
||||||
|
@ -52,8 +52,11 @@ ns math {
|
||||||
print ("From Prelude, hello.")
|
print ("From Prelude, hello.")
|
||||||
|
|
||||||
ns prelude {
|
ns prelude {
|
||||||
|
first
|
||||||
|
nth
|
||||||
conj
|
conj
|
||||||
clist
|
fold
|
||||||
|
list
|
||||||
}
|
}
|
||||||
|
|
||||||
print (prelude)
|
print (prelude)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user