The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use v6-alpha;

use Test;

plan 3;

# A list of pairs seems to be a list of pairs but a list of a
# single pair seems to be a a list of the pair's .key, .value

my @p1 = (1=>'a');
my @p2 = 1=>'a', 1=>'b';
my @p3 = 1=>'a', 42;

sub catWhat (*@a) { [~] map -> $v { WHAT($v) }, @a; }

is catWhat(@p1), 'Pair', 'array of single Pair holds a Pair';
is catWhat(@p2), 'PairPair', 'array of Pairs holds Pairs';
is catWhat(@p3), 'PairInt', 'array of Pair and others holds a Pair';