Created
October 23, 2021 23:40
-
-
Save Whateverable/6324e746f164c4b2b8ecde10a1de95a6 to your computer and use it in GitHub Desktop.
Whateverable
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
2021-07-13T04:04:09Z #raku-dev <Xliff> ToddAndMargo Actually, this one works... class AA { has @.I; submethod BUILD (:$data) { @!I[.key] = .value for $data[] }; method new (*@data) { self.bless( data => @data ) }; }; AA.new(2 => 'b', 4 => 66, 9 => 'apples').gist.say; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment