in reply to Re^3: 99 Problems in Perl6 (Lisp, Prolog, Haskell)
in thread 99 Problems in Perl6
instead of doing it all with "scalar" arrays:@result = group 1,2,2,2,3,3,4,4,4,4,5,5,6,6;
But either approach is fine.@result := group [1,2,2,2,3,3,4,4,4,4,5,5,6,6];
|
|---|