lib/serialization: add README.md
[nit.git] / tests / bench_tak.nit
index 5266e93..d5be5e8 100644 (file)
@@ -15,7 +15,7 @@
 # limitations under the License.
 
 
-meth tak(x: Int, y: Int, z: Int): Int
+fun tak(x: Int, y: Int, z: Int): Int
 do
        if not y < x then
                return z
@@ -27,4 +27,4 @@ do
        end
 end
 
-printn(tak(37,12,6))
+print(tak(37,12,6))