Bug(?) in maxima



Stavros Macrakis <macrakis at alum.mit.edu> writes:
> I find conditionals-as-expressions very valuable, but I don't think
> conflating them with conditions-as-statements is a great idea.
>
> If you set prederror:true, you will get an error if 'if' conditions can't
> be evaluated.

Another trick is to do things like

 if is (pred (...)) = true then ...

Since IS will always give you true, false or unknown, you can guarantee
that you won't get the conditional back again. (I think: or at least
I've used this quite a bit and haven't been bitten yet!)

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130731/4da5b4cf/attachment.pgp>;