|
|
last edited 10 years ago by test1 |
1 2 3 4 | ||
Editor:
Time: 2007/11/17 22:19:21 GMT-8 |
||
Note: |
changed: - \begin{axiom} f x == a := 3 x + a f 3 g := x +-> (x+2 ; x+a) g 3 \end{axiom} are right functions. But I can't use the function h. I get an error - 'h 3 : |a| is not of type list' \begin{axiom} h := x +-> (a := 3 ; x+a) h 3 \end{axiom}
axiomf x == a := 3 x + a
axiomf 3
Compiling function f with type PositiveInteger -> PositiveInteger
![]() | (1) |
axiomg := x +-> (x+2 ; x+a)
![]() | (2) |
axiomg 3
![]() | (3) |
are right functions.
But I can't use the function h. I get an error - h 3 : |a| is not of type list
axiomh := x +-> (a := 3 ; x+a)
![]() | (4) |
axiomh 3 >> System error: |a| is not of type LIST.