Hacker News new | ask | show | jobs
by m0th87 4070 days ago
The whole article is about features added. The first point is even about improvements to macros.
2 comments

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.

Its 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-ex...

We must be taking about different things, as F# hasn't had macros and thus cannot get improvements to them.

Quoted code is nice, but it's not a real substitution real macros.

Pre-processor macros...
It doesn't have those either, does it? Just basic conditional flags like C#. Or can you #define FOO bar?