1 | initial version |
The "applied to too many arguments" error in OCaml occurs when a function is called with more arguments than it expects. For example, if the function definition is let add a b = a + b
and we call it with add 1 2 3
, we will get an "applied to too many arguments" error because the function only takes two arguments (a
and b
).