Permalink
Browse files

implement *flipKeys, *detect, *detectKey for Dictionary rather than I…

…dentityDictionary

Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>
  • Loading branch information...
nuss committed Dec 17, 2016
1 parent bdfd748 commit 7e646994e68baa15d5117c5a976ab96fc80708e4
Showing with 4 additions and 0 deletions.
  1. +4 −0 CVCenter/extLib.sc
View
@@ -216,6 +216,10 @@
^nil
}
+}
+
++Dictionary {
+
flipKeys { |...oldNewPairs|
oldNewPairs.pairsDo({ |o, n|
if(o !== n, {

0 comments on commit 7e64699

Please sign in to comment.