ThatGuyDuncan (68) [Avatar] Offline
#1
12    Organising code without classes
We’ve so far learned all about relatively “low level” elements of F#: language syntax, tuples, records and functions. {Tuples, Records and Functions?}
We’ll look at using {use?} both within a standalone application

12.1   Organising code elements in F#
Organising code elements is often a somewhat tricky effort in the OO {paradigm?}
...
By default, follow the following {these?} simple rules: - {this ": -" sequence shows up a lot, perhaps a search & replace?}

12.2   Namespaces in F#
You can observe in Figure 12.1 that we can manually access functions through a fully-qualified namespace, or simply open the namespace after which we can access the static class File directly - {this? it?} is basically the same as C#.

12.3.2   Opening modules
When I first started using F#, I favoured the former way of thinking {of modules} as static classes....
...instead, you can just call the functions directly as though they were defined in the current module {/ namespace?}

Isaac Abraham (70) [Avatar] Offline
#2
What did you mean regarding the ": -" issue?

And regarding last point - no, it must be modules only - you can't define functions in namespaces.
ThatGuyDuncan (68) [Avatar] Offline
#3
I see that sequence often. Where I would expect ":" or "-", I see ": -".