Re:Elixir: Ruby-like Syntax and Homoiconicity for Erlang VM
by judofyr on Friday March 02, 2012 @03:56AM
(#3655927)
Why isn't this possible?
Then "do … end" is the same as "begin … end" in Ruby. Also, you might be able to get rid of that colon too.
[ Parent
| on HN ]
Re:Elixir: Ruby-like Syntax and Homoiconicity for Erlang VM
by josevalim on Friday March 02, 2012 @04:44AM
(#3656029)
That was a very simple example to explain which problem do/end is trying to solve. We also need to consider how your changes would fit with if/else, if/elsif/else and other macros like case/switch.
That said, please join #elixir-lang on freenode and I would love to talk with you about your suggestions. Maybe we can figure out some improvements?