Add append, add 'equal' to repl

This commit is contained in:
2022-11-16 21:38:41 -05:00
parent fd5aad95dc
commit 1f7034c0c2
3 changed files with 11 additions and 1 deletions

View File

@@ -238,3 +238,8 @@ LISP_FUNC_2(ucl_builtin_xor, scope, arg0, arg1) {
LISP_FUNC_1(ucl_builtin_not, scope, arg0) {
return ucl_predicate(!ucl_truthy_bool(arg0));
}
LISP_FUNC_2(ucl_builtin_append, scope, list, elem) {
ucl_list_append(list, elem);
return list;
}