Chapter 6. Type Providers

Type providers are part of the F# 3.0 language features that support information-rich programming. With so much diverse information available over the Internet and different data modeling systems, it is always a pain to write parsers or manually decode the data to some form that we understand. Adding to that the transformations which happen at runtime, meaning that any changes in the data model will raise exceptions, altogether represent a nightmare for developers to maintain their projects. The .NET framework has ways to deal with this by creating code using generators, but there are risks involved when the underlying data model changes--the developer has to regenerate the code and deploy it again.

In addition to the ...

Get Mastering F# now with O’Reilly online learning.

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