3 ms·
AFAIR, Haskell do have metaprogramming but not with macros, I remember reading this[0] a few months ago. Maybe I misread the article? For Rust, I've seen more
by linkdd 5y ago
AFAIR, Haskell do have metaprogramming but not with macros, I remember reading this[0] a few months ago. Maybe I misread the article?
For Rust, I've seen more usage of `macro_rules!` than the other one (so much I did not even know it existed). And it looks a lot like C's #define.
But yeah, my bad, I've been a bit too presumptuous when saying Elixir was the only one.
[0] - https://chrisdone.com/posts/haskell-doesnt-have-macros/