I’m interested in metaprogramming examples written in F# that demonstrate the use of F#-specific functionality such as the TryGetReflectedDefinition function in the F# standard library.
Where might I find such examples?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WebSharper and Unquote are two examples of open source F# libraries using Quotations (Unquote doesn’t specifically use
TryGetReflectedDefinition, but I believe WebSharper does).FSharp.PowerPack.Linq is another example. Also, I’ve found the implementation of quotations in the F# compiler to be a helpful and insightful reference.