3 ms·
Unfortunately F# doesn't really have macro support... "working with expression trees is becoming easier than ever" but you can't actually unquote/eval an arbitr
by chadzawistowski 11y ago
Unfortunately F# doesn't really have macro support... "working with expression trees is becoming easier than ever" but you can't actually unquote/eval an arbitrary expression tree.
The only purpose I can see for expression trees is implementing a DSL with F# syntax.
- VoiceOfWisdom 11y agoIts not possible out of the box, but there are several community libraries to eval quotations[0]. Shame on whoever downvoted you. Add knowledge to the discussion instead of downvoting someone you disagree with. [0] http://stackoverflow.com/questions/849416/evaluate-quoted-expression-in-f http://stackoverflow.com/questions/849416/evaluate-quoted-ex...