News for hackers. Stuff that matters.
Re:Learning Elixir: My side-project by rdtsc on Thursday July 06, 2017 @01:46PM (#14712280)
> What happened to good old fashioned function foo (int bar) :)

It doesn't let you do things like:

"for (int bar) and 0 <= bar <= 3" while the "when" guard construct can do that. Moreover it lets you have multiple function heads as well. So you can defined multiple for (int bar) with different conditions. Or even a "foo" with a string bar.

There are no comments on this comment yet.