create Maxima list from multiple return values of a Lisp function
Subject: create Maxima list from multiple return values of a Lisp function
From: Barton Willis
Date: Thu, 16 Jun 2011 19:55:32 -0500
----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