equal
deleted
inserted
replaced
28 |
28 |
29 static <A> List<A> cons(A x, List<A> xs) { return xs.prepend(x); } |
29 static <A> List<A> cons(A x, List<A> xs) { return xs.prepend(x); } |
30 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } |
30 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } |
31 static <A> A id(A x) { return x; } |
31 static <A> A id(A x) { return x; } |
32 |
32 |
33 static Integer i = new Integer(1); |
33 static Integer i = Integer.valueOf(1); |
34 static Number n = i; |
34 static Number n = i; |
35 |
35 |
36 public static void main(String[] args) { |
36 public static void main(String[] args) { |
37 Number x = f(n, i); |
37 Number x = f(n, i); |
38 x = f(i, n); |
38 x = f(i, n); |