Hybrid assoc lists

This commit is contained in:
Simon Brooke 2021-08-18 11:00:47 +01:00
parent b0a49fb71d
commit b6ae110f66
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
3 changed files with 89 additions and 37 deletions

View file

@ -82,6 +82,7 @@ bool equal( struct cons_pointer a, struct cons_pointer b ) {
* structures can be of indefinite extent. It *must* be done by
* iteration (and even that is problematic) */
result =
cell_a->payload.string.hash == cell_b->payload.string.hash &&
cell_a->payload.string.character ==
cell_b->payload.string.character &&
( equal( cell_a->payload.string.cdr,