
Building Java Programs 3rd Edition Exercise Solutions - Ogle School
Rewrite the following Java function in OCaml. int foo(int i, boolean b, boolean c, boolean d) { if (b) { i++;. } if (c) { return i + 2;. }.
Part of the document
Rewrite the following Java function in OCaml. int foo(int i, boolean b, boolean c, boolean d) { if (b) { i++;. } if (c) { return i + 2;. }.