List.iteri doesn't have the 'right' signature
Issue #2
resolved
I don't know if you care about this but:
a list -> f:(int -> 'a -> 'b) -> unit
Comments (3)
-
repo owner -
reporter I do think of it as a bug as I wouldn't want the code to compile unless
f
does has aunit
return type, which I experienced yesterday. But, this is trivial, I threw up a PR since I raised this issue. -
repo owner - changed status to resolved
PR #2 fixed this.
- Log in to comment
That's interesting; I never noticed because I always build with
-strict-sequence
.Vs
Hence, is this a bug or a feature (i.e. we obey the user preference of not using the
-strict-sequence
)?