[Maxima] programming, using op(), was ..RE: Bugfix for GosperSum? (was: cannot load Zeilberger)

Michel Van den Bergh michel.vandenbergh at uhasselt.be
Sun Jan 7 13:22:22 CST 2007


>
> You could simulate it by  case(expr,test,block([]....), test, .... I
> suppose. Just wordier.
The block statements are not necessary unless you want local variables
and then you need "block"
anyway.

I think 

case (
          expr1,   (
                   statement1,
                   statement2
      ),   expr2,   (
                  statement1,
                  statement2
       )
)

looks rather good. I don't like the square brackets. They are not used
as delimiters elsewhere.

Michel




                  


More information about the Maxima mailing list