fricas (1) -> f x == a := 3 x + a Type: Void
fricas f 3 fricas Compiling function f with type PositiveInteger -> PositiveInteger
Type: PositiveInteger?
fricas g := x +-> (x+2 ; x+a)
Type: AnonymousFunction?
fricas g 3
Type: Polynomial(Integer)
are right functions.
But I can't use the function h. I get an error - fricas h := x +-> (a := 3 ; x+a)
Type: AnonymousFunction?
fricas h 3
Type: PositiveInteger?
... --gdr, Thu, 24 Jan 2008 21:23:23 -0800 reply fixed in OpenAxiom
Status: open => fixed somewhere
Status: fixed somewhere => closed
|