Created
August 29, 2015 09:43
-
-
Save ab5tract/ebda98cc14e25881adbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit d96dccd1737ed4ab7e5cf293a178f7d28aa1e1f1 | |
Author: ab5tract <john.haltiwanger@gmail.com> | |
Date: Sat Aug 29 11:41:11 2015 +0200 | |
Coercion from Set.list (via Any) is bonkers | |
diff --git a/src/core/Setty.pm b/src/core/Setty.pm | |
index e86b44d..4e491e0 100644 | |
--- a/src/core/Setty.pm | |
+++ b/src/core/Setty.pm | |
@@ -89,6 +89,9 @@ my role Setty does QuantHash { | |
); | |
} | |
+ method Bag { Bag.new( %!elems.values ) } | |
+ method BagHash { BagHash.new( %!elems.values ) } | |
+ | |
# TODO: WHICH will require the capability for >1 pointer in ObjAt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment