|
Post Scarcity
A prototype for a post scarcity programming environment
|
Go to the source code of this file.
Functions | |
| bool | eq (struct cons_pointer a, struct cons_pointer b) |
| equal.h | |
| bool | equal (struct cons_pointer a, struct cons_pointer b) |
| Deep, and thus expensive, equality: true if these two objects have identical structure, else false. | |
| bool eq | ( | struct cons_pointer | a, |
| struct cons_pointer | b | ||
| ) |
Checks for shallow and deep equality
(c) 2017 Simon Brooke simon.nosp@m.@jou.nosp@m.rneym.nosp@m.an.c.nosp@m.c Licensed under GPL version 2.0, or, at your option, any later version. Shallow, and thus cheap, equality: true if these two objects are the same object, else false.
Definition at line 24 of file equal.c.
References cons_pointer::offset, and cons_pointer::page.
Referenced by equal(), equal_number_number(), lisp_add(), lisp_eq(), lisp_repl(), make_ratio(), and release_integer().
| bool equal | ( | struct cons_pointer | a, |
| struct cons_pointer | b | ||
| ) |
Deep, and thus expensive, equality: true if these two objects have identical structure, else false.
Definition at line 247 of file equal.c.
References CONSTV, DEBUG_ARITH, debug_print(), debug_print_object(), debug_printf(), end_of_string(), eq(), equal(), equal_number_number(), equal_ratio_ratio(), INTEGERTV, KEYTV, LAMBDATV, NLAMBDATV, numberp, cons_space_object::payload, pointer2cell, RATIOTV, REALTV, same_type(), STRINGTV, SYMBOLTV, cons_space_object::tag, and to_long_double().
Referenced by c_assoc(), equal(), internedp(), and lisp_equal().