Exploring type providers

Frankly, I consider type providers as one of the most exciting, powerful, and pragmatic F# features. Ability to apply type providers is, in my opinion, among the strongest arguments for the usage of F# in enterprise software development.

The feature review

Type providers in F# represent a pretty unique practical pattern of manipulating various data sources in a strongly typed manner. This manipulation is accomplished via types, methods, and properties that were derived from the data source features and built at compile-time in a fully automated fashion. The developer is not required to author and/or maintain these automatically provided data manipulation means.

The idea of automatic code generation itself is as old as pyramids, ...

Get F# 4.0 Design Patterns 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.