On 9/26/18 2:40 PM, Brandon Allbery wrote:
Do you really think every function that produces a "list" has built into it secret knowledge of how you would index a list? They just produce a "Positional" or "Seq" or "List", etc. and *those* know what to do with []. The function doesn't even need to say it's doing that; that's to produce better error messages, not "wire what a list is into me".
Hi Brandon, I know how to use the function and use it all the time. My frustration is with the documentation. How did this multi method words(Str:D $input: $limit = Inf --> Positional) get to what you describe above? Yours in confusion, -T