fn compare(x : int, y : int) -> ~str { if (x > y) { return ~"Greater than"; } else if ( x == y) { return ~"Equal"; } else { return ~"Less than"; } }