The list is like [{0,10},{2,20}]. I have get value 10 when provided by key as 0.
I haven't find the suitable function in Enum, List, Keyword module, and have to use erlang module proplists to solve the problem. Is it necessary?
inventory_position_list = [{0,10},{2,20}]
x = :proplists.get_value(0,inventory_position_list)