[erlang-questions] distinguish proplists vs. lists of proplists
Mr rty ff
Tue Sep 15 18:58:33 CEST 2015
I write a function which gets proplists or list of proplists anf key. if the input is proplists I just use proplists:get_value to find a value corresponding to key. But if the input is lists of proplists I need to iterate over all its elements. and look for key in each of them. I amnot sure how to distinguish lists vs. proplists. lists:is_list returns true for both of them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions