On 09/26/2015 02:26 PM, Aristotle Pagaltzis wrote: > Now of course I must ask – is there an opposite also? I.e. when writing > a list, is there a way I can say “do flatten this item?”
Yes, that's what type Slip is for: http://doc.perl6.org/type/Slip It's useful for returning more than one list item from a .map call, for example. Cheers, Moritz