Searching for the type of an expression in OCaml

159 Views Asked by At

In Haskell we can search for the type of an expression, such as "+" by entering :t + at the terminal.

In utop, how can we determine the type of an expression such as "+"? I have tried entering + ;; in utop, and this produces Error: Syntax error.

0

There are 0 best solutions below