axiom f x == a := 3 x + a Type: Void
axiom f 3 axiom Compiling function f with type PositiveInteger -> PositiveInteger
Type: PositiveInteger?
axiom g := x +-> (x+2 ; x+a)
Type: AnonymousFunction?
axiom g 3
Type: Polynomial(Integer)
are right functions.
But I can't use the function h. I get an error - axiom h := x +-> (a := 3 ; x+a)
Type: AnonymousFunction?
axiom 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
|