Simpler and more precise type derivation for APPEND/NCONC
authorPaul Khuong <pvk@pvk.ca>
Mon, 3 Jun 2013 17:21:25 +0000 (13:21 -0400)
committerPaul Khuong <pvk@pvk.ca>
Mon, 3 Jun 2013 17:21:25 +0000 (13:21 -0400)
commit0d51ca7e5e624dc3bad5c87e14211e8e6f7b3a45
treec5091ec09d84356725f698164e3f0380ab4baaa3
parent8c6e2e85859766d2c4c6a272b952de2ebe467487
Simpler and more precise type derivation for APPEND/NCONC

 We can suppose that all but the last argument are lists when
 deriving the return type... and the logic to compute the return
 type can be much simpler: it's either a CONS, the last argument,
 or we don't know which (yet).
src/compiler/srctran.lisp
tests/compiler.pure.lisp