create Maxima list from multiple return values of a Lisp function



----maxima-bounces at math.utexas.edu wrote: -----


>(cons?'(mlist?simp) ... 

This is mostly OK, but don't get carried away. In general, the better way is (take '(mlist) ...). That way, the expression gets simplified. 
Doing (cons '(mlisp simp) ...) can cause tellsimpafter rules to not happen, I think.  Maybe there is an opcon macro or something like
that that will work instead of 'take.'


---Barton