News for hackers. Stuff that matters.
Re:Learning Elixir: My side-project by dqv on Thursday July 06, 2017 @01:19PM (#14712043)
An Elixir macro guru would have to verify, but you could do some funny stuff with a macro that takes a keyword list to get syntax like:

    function foo: [int: bar] do
      bar * bar
    end
But, no the Erlang type system is not what you'd normally expect. I really like this paper on success types that kind of goes over the type system: http://user.it.uu.se/~kostis/Papers/succ_types.pdf

There are no comments on this comment yet.