Dan Hursh writes: > Second, if it is a problem that '?' is too far away, how about this? > > [foo]**{5..3} # greedy > [foo]**{3..5} # lazy
Because 5..3 is the empty list. This wasn't a mistake in Perl 5, so it's staying in Perl 6. > Oh, is there a way to trick this closure syntax into being the '0 or > more' equivalent? Suppose it would have to be returning an infinite > list. That seems familiar, but I forget why. Um, yes: [foo]**{3...} Or: [foo]**{3..Inf} These are just regular perl semantics. Luke