peval support for memq and memv
authorAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2011 12:42:40 +0000 (14:42 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2011 12:43:37 +0000 (14:43 +0200)
commit4bf9e92875973b8997b2876218b6bd595fbf1952
treefb276f74cfde556135913862b8cb907218171c2e
parentf26c3a93ecc0fdf69139ce86a825f262535554c9
peval support for memq and memv

* module/language/tree-il/peval.scm (peval): Add special handlers for
  memq and memv, as inline.scm used to have.  This is important for
  `case' clauses.  It is very ugly, though.

* test-suite/tests/tree-il.test ("partial evaluation"): Add tests.
module/language/tree-il/peval.scm
test-suite/tests/tree-il.test