![]() | ![]() | ![]() | Exercise 2 - Type inference | Documentation and user's manual | Table of contents | OCaml programs |
The following expression is syntactically correct. It has a value. Write its type.
function (x, y) -> (if x then 2 + 3 else 0) + (let a = "false" and b = 13 in if y = a then 1 else b) |
![]() | ![]() | ![]() | Exercise 2 - Type inference | Documentation and user's manual | Table of contents | OCaml programs |