Arithmatic

This commit is contained in:
2026-09-07 16:29:06 -07:00
parent df4ddcaf25
commit 5503b2f317
23 changed files with 554 additions and 31 deletions
+4
View File
@@ -31,6 +31,10 @@ void release_hash_table_no_gc(LispVal *val) {
lisp_free(ht);
}
DEFUN(hash_table_p, "hash-table-p", (LispVal * val), "(val)", "") {
return HASH_TABLE_P(val) ? Qt : Qnil;
}
DEFUN(make_hash_table, "make-hash-table", (LispVal * hash_fn, LispVal *eq_fn),
"(hash-fn eq-fn)", "") {
LispHashTable *obj =