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 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.