]> git.lizzy.rs Git - nothing.git/blobdiff - src/script/builtins.h
TODO(#330)
[nothing.git] / src / script / builtins.h
index 2d862ecd446a5cea619326126eaa6316cf37e514..84fdc6caaaab86801cef5def4d6b455167f4ea21 100644 (file)
@@ -7,9 +7,11 @@ 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_