Hacker News new | ask | show | jobs
by lpw25 3873 days ago
It is, but it is worth noting that when OCaml or Haskell programmers talk about type inference they are usually referring to global type inference which allows an argument's type to be inferred from its uses. For example:

  let f x = x + x
will be inferred as int -> int.