I am greatly amazed at the improvements in type propagation -- which still can not be called liked that, but which does some minimal type inference --, probably because the stupid algorithm catches quite many problems already.<br>

<br>However, precisely due to the simplicity of the current algorithms, one thing that may be a showstopper is that there is code around that looks like this<br>   (when (stringp foo)<br>      (replace foo faa ...))<br><br>

I am a bit lost here. On the one hand this is valid Lisp, even if FOO is inferred to have, say, an integer type. However the compiler will see that REPLACE gets arguments of the wrong type and will complain.<br><br>In a sense what the developer is asking from us here is that we not only obey the type declarations but also ignore the unreachable code and probably also keep branch-specific type information, which is too much asking for the little infrastructure that is built right now.<br>

<br>Alternatives:<br>- Emit an error as we did so far. Maxima and other programs will refuse to build.<br>- Emit a warning. Software having this problem built with ASDF will not build because of the warnings.<br>- Emit a style-warning.<br>

- Emit a compiler note.<br>- Somebody implements the remaining pieces in the compiler :-)<br><br>Which alternative do you feel more comfortable with?<br><br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>

c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>