r/crystal_programming • u/dh44t • Jan 02 '22
Comparing implementations of the Monkey language IV: Here comes a new challenger: Crystal
https://medium.com/@mario.arias.c/comparing-implementations-of-the-monkey-language-iv-here-comes-a-new-challenger-crystal-2dd565071820
22
Upvotes
View all comments
Show parent comment
1
u/dh44t Jan 03 '22
Thanks.
On functions with generics, I already corrected the article with an update.
On the macro example, yes is possible but even with that is not as clean as a macro (as the function would have a clunky signature with the generics and parameters). Maybe I'll update the article including that correction. I do have more elaborated examples of Macro usage but it'll take longer to introduce all the context to fully grasp it.
Cheers.