diff options
author | Noah Lavine <noah.b.lavine@gmail.com> | 2012-02-18 10:55:49 -0500 |
---|---|---|
committer | Noah Lavine <noah.b.lavine@gmail.com> | 2012-02-20 15:24:17 -0500 |
commit | 3c65e3fda512cda13de244e853afd0fa0e7b5962 (patch) | |
tree | 36cfdedc7f8e4c7da483d28ee8b9f11a3140170f /libguile/posix.c | |
parent | 6978c673393a960d7caf604b8c72ff2b5fe0f4ec (diff) | |
download | guile-3c65e3fda512cda13de244e853afd0fa0e7b5962.tar.gz |
Optimize Equality Primitives
* module/language/tree-il/primitives.scm: add equality-primitive?,
which is true for eq?, eqv?, and equal?
* module/language/tree-il/peval.scm: if an equality primitive is
applied to the same variable twice, fold it to #t
* test-suite/tests/tree-il.test: add tests for pevaling equality
primitives
Diffstat (limited to 'libguile/posix.c')
0 files changed, 0 insertions, 0 deletions