Closed wallymathieu closed 8 years ago
@wallymathieu This is by design - the extra parentheses indicate that the method takes an actual tuple value, rather than two arguments.
@wallymathieu Thanks for the report. Since this is by design, I'll close it.
Aaa, thanks!
While trying out things looking at RFC FS-1004 Result type in the following repository, I stumbled on something.
The following compiles (together with an implementation):
The implementation:
However, the following does not:
Note the extra parenthesises around the parameters.
I've tested the behaviour on f# bundled with Mono 4.4.1 and F# 4.0 (F# Compiler version 14.0.23413.0). The .net version used: 4.5.