Chapter 6. Organizing, Annotating, and Quoting Code
An important part of any programming language is the ability to organize code into logical units. F# provides modules and namespaces for this; you can learn more about them in this chapter's "Modules," "Namespaces," and "Opening Namespaces and Modules" sections. To attain a good understanding of F#'s module system, it's also important that you understand the scope of a module, as well as how it will be initialized and executed. You can learn more about these two concepts in the in "Module Scope" and "Module Execution" sections.
For a module to be effective, it's important to able to make parts of the module private, so it cannot be seen by the outside world. F# provides two different ways to achieve ...
Get Beginning F# 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.