[erlang-questions] distinguish proplists vs. lists of proplists
Tue Sep 15 22:12:16 CEST 2015
> In Adam’s example, the first function clause and guard sequence will match against a list of lists and any proplist.
Oh yeah, missed that (:
If you want to distinguish a list maybe containing two-element tuples
from a proplist, you're gonna have a bad time. If it's just about
telling a list of lists from a list of non-lists, that's easy enough ^^
More information about the erlang-questions