Search in complex list
If you want to find entry in complex list like:
[{p1, [{c1, x}, {c2, o}]}, ...]
Please for God's sake do not implement custom search. Use lists:keyfind/3 instead.
Written by Sёmka Novikov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Erlang
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#