Created
April 26, 2018 19:53
-
-
Save mcmillhj/e2200a93f61b1514a93b2be811b20cac to your computer and use it in GitHub Desktop.
Array as Hash key
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
> my %h{Array}; | |
{} | |
> %h{[1,2]} = [3,4]; | |
Type check failed in binding to parameter 'key'; expected Array but got Int (1) | |
in block <unit> at <unknown file> line 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment