-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Feature request. E.g. I have the following function:
-spec cmd(Command :: binary(), Params :: list()) -> {ok, Reply :: binary()} | error.
cmd(<<"help">>, []) ->
% something goes here
cmd(<<"status">>, Message) ->
% something goes here tooBut it is autocompleted as cmd(Param1, Message). Why don't use specs for readable parameter names if they're available?