You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "test.ml", line 11, characters 23-33:
11 | | Cons(x, xs) -> x * product xs
^^^^^^^^^^
Warning 5 [ignored-partial-application]: this function application is partial,
maybe some arguments are missing.
File "test.ml", line 11, characters 23-33:
11 | | Cons(x, xs) -> x * product xs
^^^^^^^^^^
Error: This expression has type 'a Seq.t -> (int * 'a) Seq.t
but an expression was expected of type int
minimal example:
I don't think this is normal behaviour?
Tested on
4.14
, andtrunk
. Behaviour doesn't happen on4.13.1
The text was updated successfully, but these errors were encountered: