The snippet implements a function "expand" that takes a quotation and performs two operations. It replaces all calls to methods marked with ReflectedDefinition with the body of the method and it simplifies all expressions that can be reduced in call-by-name style (let binding & application of lambda).
7 people like thisPosted: 12 years ago by Tomas Petricek
An exploration of the power of Computation Expressions, Type Extensions, Extension Methods, and Method Overloading. May or may not be a monad or a monoid - we're not sure, nor do we care to check.
7 people like thisPosted: 6 years ago by Tomas Petricek, Krzysztof Cieślak, John Azariah, Phillip Carter
Expression<Func<'a, 'b>> as expr builder
2 people like thisPosted: 5 years ago by habib sadullaev
The example shows how to extend F# 3.0 'query' builder with a new custom operation that will work with standard lists, but also with queries that are translated using LINQ expressiont trees (such as databases).
12 people like thisPosted: 11 years ago by Tomas Petricek
Calculate triangle numbers in the most inefficient way possible!
4 people like thisPosted: 5 years ago by Brian Berns