diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-10-30 13:44:41 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-10-30 16:32:44 +0100 |
commit | 08efa5f7d2f95a608d1712a8d684aed6c3a1aa4a (patch) | |
tree | e50b6c11ee452f0e36af92418fee9512929d30e1 /README |
Initial commit
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +Some proplist helpers +===================== + +Delete all properties named foo or bar: + + 1> proplutils:delete([foo, bar], [{foo, "does"}, {bar, "not"}, {baz, "matter"}]). + [{baz,"matter"}] + +Delete all properties that aren't named foo or bar: + + 1> proplutils:delete_except([foo, bar], [{foo, "does"}, {bar, "not"}, {baz, "matter"}]). + [{foo,"does"},{bar,"not"}] + + |