too few positional arguments: 2 passed, 3 (or more) expected
in 'to-json' at line 13:chapter6.p6
in <anon> at line 24:chapter6.p6
in 'Any::join' at line 1
in 'to-json' at line 26:chapter6.p6
in main program body at line 47:chapter6.p6
For some reason it looks like it doesn't like what's given to the 'map' method.
Hi,
I've just tried:
When I do
say to-json({ a => @a , b => 1.23 });
perl6 chokes:
For some reason it looks like it doesn't like what's given to the 'map' method.