OOP in FSharp. How to define and implement classes, abstract classes and interfaces

Kimserey Lam. Kimserey’s Blog.
Even though F# is a functional language, it also provides way to build application in a object oriented way. When interacting with C# libraries, it is very useful since C# is object oriented by nature.
Today I would like to show you how you can define and build classes in a object oriented way. This post is composed by three parts:
1. Classes
2. Abstract classes / interfaces
3. Inheritance

[OOP in FSharp. How to define and implement classes, abstract classes and interfaces]

Advertisements

One thought on “OOP in FSharp. How to define and implement classes, abstract classes and interfaces

  1. Pingback: F# Weekly #35, 2016 – Sergey Tihon's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s