]> git.lizzy.rs Git - nothing.git/blobdiff - src/script/builtins.h
TODO(#330)
[nothing.git] / src / script / builtins.h
index 964c889c0eeb7b078557859fafc29f326b50d3c7..84fdc6caaaab86801cef5def4d6b455167f4ea21 100644 (file)
@@ -6,9 +6,12 @@
 bool equal(struct Expr obj1, struct Expr obj2);
 
 bool nil_p(struct Expr obj);
+bool symbol_p(struct Expr obj);
+bool cons_p(struct Expr obj);
+bool list_p(struct Expr obj);
 
-/// You should never detroy the result of assoc because it always
-/// returns the subexpression of alist
 struct Expr assoc(struct Expr key, struct Expr alist);
 
+struct Expr list(Gc *gc, size_t n, ...);
+
 #endif  // BUILTINS_H_