local rewrite for apply to a let-bound rest list
authorAndy Wingo <wingo@pobox.com>
Fri, 15 Feb 2013 14:20:40 +0000 (15:20 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 15 Feb 2013 14:20:40 +0000 (15:20 +0100)
commit91c763ee3f195dc0e26339608da01250d6924009
tree5311099f53ab7d520d0b54ca010ac6969a057e19
parent85edd670f5674bd4c25547936b1faf61e2d7a397
local rewrite for apply to a let-bound rest list

* module/language/tree-il/peval.scm (peval): Add a special-case inlining
  pattern for apply to a let-bound rest arg that preserves effect
  ordering.

* test-suite/tests/peval.test ("partial evaluation"): Add a test, and
  update an older test with a better result.
module/language/tree-il/peval.scm
test-suite/tests/peval.test