Implementing Interfaces in F# Using Object Expressions

added by DotNetKicks
2/10/2015 8:34:01 PM

3 Kicks, 200 Views

To expand on another topic that was mentioned in the F# Infographic is that F# also has the ability to use any .NET library. From that, you may be wondering, “what about implementing interfaces that may come in other libraries?” Of course, you can create classes in F# if you need but there’s a more elegant solution – object expressions.