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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.