SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
287 stars 25 forks source link

Add feature for evaluating and reducing synthetic quotations with unbound variables #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now that we have our own Eval implementation, we can easily add Expr extension 
members to Reduce, ReduceFully, and the new Eval so that we can pass in an 
variable environment to handle synthetic quotations, e.g.

    Expr.Var(new Var("x", typeof<int>)).Eval([("x", 1 |> box |> ref)])

Original issue reported on code.google.com by stephen....@gmail.com on 4 Jul 2011 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 4 Jul 2011 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 7 Jul 2011 at 3:38