Upgrade to Pro — share decks privately, control downloads, hide ads and more …

F#’s Type Providers: The future of meta-programming in .NET

F#’s Type Providers: The future of meta-programming in .NET

Robert Pickering

May 16, 2014
Tweet

More Decks by Robert Pickering

Other Decks in Programming

Transcript

  1. None
  2. None
  3. None
  4. None
  5. new System.Data.DataSet()

  6. None
  7. type User = { [JsonProperty(PropertyName = "user_name")] Username: string [JsonProperty(PropertyName

    = "first_name")] FirstName: string [JsonProperty(PropertyName = "last_name")] LastName: string }
  8. None
  9. None
  10. None
  11. type ITypeProvider = inherit IDisposable abstract GetStaticParameters: Type -> ParameterInfo

    [] abstract ApplyStaticArguments: Type * string * obj [] -> Type abstract GetNamespaces: unit -> IProvidedNamespace [] abstract GetInvokerExpression: MethodBase * ParameterExpression [] -> Expression abstract GetGeneratedAssemblyContents: System.Reflection.Assembly -> byte[] abstract Invalidate: IEvent<EventHandler,EventArgs>
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. @dsyme @brandewinder @Oenotria

  19. None
  20. http://fsharpworks.com/paris/2014.html

  21. None