Intrinsic F# language features
Along with features inherited from F# predecessors, the F# language carries its own set of notable novel facilities. The outline of these facilities is discussed in the upcoming sections.
Indentation-aware syntax
Yes, this is correct; the F# compiler is sensitive to indentation in the source code (https://msdn.microsoft.com/en-us/library/dd233191.aspx), so correct code formatting is not just a matter of aesthetics. Why? Firstly, the improved code readability is enforced by the compiler, and secondly, this design choice dramatically decreases the amount of noise in the F# source code as block markers (such as curly brackets in C#) do not present, overall making the F# source code significantly shorter than the equivalent ...
Get F# 4.0 Design Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.