#lang honu /* function test(t, a, b){ if (a != b){ display(t); display(" failed!"); newline(); display("Got "); display(a); display(". Expected "); display(b); newline(); } } */ function test1(){ var x = 3; /* const y = 2; test("x = 3", x, 3); test("y = 2", y, 2); */ printf("x is ~a\n", x + 2); // print(x + 2); // print(x ^ 2) } function test2(x, y){ printf("~a\n", x); printf("~a\n", y); } function test3(what){ printf("~a and true = ~a\n", what, what and true); printf("~a and false = ~a\n", what, what and false); } test1(); test2(5, 9); test3(true); // function(z){ print(z) }(12)