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
I spent little but somehow too much time alpha renaming these expressions to see where the problem could be before realizing it was simply an optional vs non optional issue (maybe I'm tired).
Could maybe the error message be improved to directly mention optionability differences ?
Values do notmatch:
valv3 :
?fold:('a, 'b) Vec.fold ->
?make:('b -> 'b -> 'b -> 'a) -> 'bt -> 'atisnotincludedinvalv3 :
fold:('v3, 'a) Vec.fold ->
make:('a-> 'a -> 'a -> 'v3) -> 'at -> 'v3tThetype
?fold:('a, 'b) Vec.fold ->
?make:('b -> 'b -> 'b -> 'a) -> 'b t -> 'a t
is not compatible with the type
fold:('c, 'd) Vec.fold ->
make:('d -> 'd -> 'd -> 'c) -> 'd t -> 'c t
(OCaml v4.14.1)
The text was updated successfully, but these errors were encountered:
I spent little but somehow too much time alpha renaming these expressions to see where the problem could be before realizing it was simply an optional vs non optional issue (maybe I'm tired).
Could maybe the error message be improved to directly mention optionability differences ?
(OCaml v4.14.1)
The text was updated successfully, but these errors were encountered: