Martin Rubey replies : > I think that the interpreter should try to coerce from List to Vector. > It's not my advice...
I prefer that interpreter makes almost no coerce. Coerce might be in *.spad files only... I dislike the coerce from List List R to Matrix R in the interpreter. Its place is in matrix.spad file. Coerce may be limited to obvious transformations, with the same mathematical sense. So I "always" use matrix LLR and I don't use LLR::Matrix R. But I use (Vector R)::Matrix R. In this case a new function matrix : List Vector R -> Matrix R may be better. And functions horizConcat and vertConcat from List Matrix R -> Matrix R. (even if reduce (horizConcat, List Matrix) is also possible... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel