F#’s Type Providers: The future of meta-program...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

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

Robert Pickering

May 16, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

21 slides
  1. type User = { [JsonProperty(PropertyName = "user_name")] Username: string [JsonProperty(PropertyName

    = "first_name")] FirstName: string [JsonProperty(PropertyName = "last_name")] LastName: string }
  2. 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>

More Decks by Robert Pickering

Other Decks in Programming