O'Reilly logo

Expert F# by Antonio Cisternino, Adam Granicz, Don Syme

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6Working with Objects and Modules

Chapters 2 through 5 dealt with the basic constructs of F# functional and imperative programming, and by now we trust you are familiar with the foundational concepts and techniques of practical, small-scale F# programming. In this chapter, we cover language constructs related to object-oriented (OO) programming. We assume some familiarity with the basic concepts of OO programming, though you may notice that our discussion of objects deliberately de-emphasizes techniques such as implementation inheritance.

The first part of this chapter focuses on OO programming with concrete types. We then introduce the notion of object interface types and show some simple techniques to implement them. We then cover ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required