Dear Timo.

So .categorize and .classify wil always end with list on leaves of
produced tree? Ok I can live with that :)

On Sat, Jun 14, 2014 at 12:30 PM,  <t...@wakelift.de> wrote:
> Dear Kamil,
>
>
> On 06/13/2014 10:24 PM, Kamil Kułaga wrote:
>> my %h = categorize({map {[.a , .b]}, $_},@array);
>
> I think the problem is that categorize will call your inner code block for
> every item in the @array. Then you map your {[.a, .b]} over that item, so
> you end up with a single-item list as a result. Could that be the problem?
>
> Cheers
>   - Timo



-- 
Pozdrawiam

Kamil Kułaga

Reply via email to