Index: doc/eval.html ================================================================== --- doc/eval.html +++ doc/eval.html @@ -130,11 +130,11 @@ Page was generated with - on Sat Nov 27 23:29:17 2010 + on Sun Nov 28 07:28:21 2010
@@ -674,11 +679,11 @@ @@type = fun(x) { if( _isint(x) ) then "int" else if( _isstr(x) ) then "str" else if( _isbot(x) ) then "runtime error" else "type error" - } + };
     >> @type( 1 )
     int
     >> @type( 2 )
@@ -723,11 +728,11 @@
    @type "if" (c, t, e) {@value(
       if( @type(c)=="int" || @type(c)=="runtime error" ) then
          @type( int_int_int(t(), e()) )
       else
          "type error"
-   )}
+   )};
 

関数が自動リフトされるので、フィボナッチ関数の型を調べることができます。

@@ -1154,11 +1159,11 @@
 
 
 		
 			Page was generated with
 			
-			on Sun Nov 28 00:45:59 2010
+			on Sun Nov 28 07:29:42 2010