title: In Perl 6, can I use an Array as a Hash key?
body: <p>In the Hash documentation, the section on <a href="https://docs.raku.org/type/Hash#Non-string_keys_(object_hash)" rel="nofollow noreferrer"><code>Object keys</code></a> seems to imply that you can use any type as a Hash key as long as you indicate but I am having trouble when trying to use an array as the key: </p>
  
  <pre><code>&gt; my %h{Array};
  {}
  &gt; %h{[1,2]} = [3,4];
  Type check failed in binding to parameter 'key'; expected Array but got Int (1)
  in block &lt;unit&gt; at &lt;unknown file&gt; line 1
  </code></pre>
  
  <p>Is it possible to do this? </p>