HN user

summermadness

1 karma
Posts0
Comments1
View on HN
No posts found.

The CE mechanism is great. One little known trick, is you can add a magic member "Quote". The impl. being `member _.Quote () = ()`, and that will result in the Run method receiving an Expr tree representing the entire computation. You then have the ability to take that expr tree and convert to another language e.g. sql, cuda, etc.

I used it on a project where I converted the expression tree to a graph query language "cypher".