*-remover *-remover
backpack backpack
flash drive flash drive
roll roll
plans plans
origin paste origin paste
gel gel
apple ale
army army
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Consider | |
%% mod:func([A],{A,B},list(), any(), some_type({A,list(),B})) -> ok | error. | |
%% | |
%% Start from the beginning. Scan each character | |
%% | |
%% 1. Once we hit ":", we've got our module name, start looking for function | |
%% name. | |
%% 2. Once we hit "(", we've got our method name, start looking for arguments | |
%% 3. Arguments are a bit trickier | |
%% 3.1 If we encounter a "{", "[", "(" we don't care about anything |