racket/collects/honu/examples/rel-not-prim.honu
2005-05-27 18:56:37 +00:00

18 lines
226 B
Plaintext

type t1 {
bool x();
}
class c() : t1 impl t1 {
bool x() { return true; }
export t1 : x;
}
bool main() {
t1 x = new c:t1();
if (1 < 3) && (2.0 >= 1.5) {
!x.x();
} else {
error("How'd I get here?");
};
}