]> git.lizzy.rs Git - nothing.git/blobdiff - src/script/builtins.h
TODO(#330)
[nothing.git] / src / script / builtins.h
index a08fd17351972b481c99849dd0ecb3a9c0d4328d..84fdc6caaaab86801cef5def4d6b455167f4ea21 100644 (file)
@@ -8,11 +8,10 @@ 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 push(struct Expr newelt, struct Expr place);
+struct Expr list(Gc *gc, size_t n, ...);
 
 #endif  // BUILTINS_H_