Primitive expand numerical comparisons with more than 2 arguments.
authorMark H Weaver <mhw@netris.org>
Tue, 28 Jan 2014 22:44:22 +0000 (17:44 -0500)
committerMark H Weaver <mhw@netris.org>
Tue, 28 Jan 2014 22:44:22 +0000 (17:44 -0500)
commit4dc4b86e858d391d20d0ea2551614a89fa3bd4d1
treece8f35a6223248e88fa654f7ab5f8538e6b2c279
parentca5e0414e96886177d883a249edd957d2331db65
Primitive expand numerical comparisons with more than 2 arguments.

* module/language/tree-il/primitives.scm (chained-comparison-expander):
  New procedure.
  (*primitive-expand-table*): Add primitive expanders for '<', '>',
  '<=', '>=', and '='.
module/language/tree-il/primitives.scm