3 ms·
It's a feature in Erlang - this is a reasonably brief explanation: http://learnyousomeerlang.com/syntax-in-functions http://learnyousomeerlang.com/syntax-in-fu
by simonw 15y ago
It's a feature in Erlang - this is a reasonably brief explanation:
http://learnyousomeerlang.com/syntax-in-functions http://learnyousomeerlang.com/syntax-in-functions
You can think of it as a smart way of doing a switch statement that takes the number and type of arguments in to account - though that's a huge simplification.