|
From: | Ralf Hemmecke |
Subject: | Re: [Axiom-developer] Lazy re-evaluation (was: More AxiomUI) |
Date: | Thu, 23 Jun 2005 13:28:59 +0200 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Axiom also allows to do something like that... What should the line (6) f(n) return after a user modified line (5) to n:=3? Will f(n) return 6 or 7? And what did the user expect? Ralf (1) -> k:=1 (1) 1 Type: PositiveInteger (2) -> f(n)==(free k; k:=k+1; n+k); Type: Void (3) -> n:=2 (3) 2 Type: PositiveInteger (4) -> f(n) Compiling function f with type PositiveInteger -> PositiveInteger (4) 4 Type: PositiveInteger (5) -> n:=2 (5) 2 Type: PositiveInteger (6) -> f(n) (6) 5 Type: PositiveInteger
[Prev in Thread] | Current Thread | [Next in Thread] |