Empty is mentioned but not explained
-
[x] Empty is a very special value not just in for loops. Yet the docs don't explain what it does at all. At least in /language/control there should be a link to its definition.
-
[x] Also there is no note what loop constructs do on undefined values.
-
[ ] There may be the related issue of binding on returned values when there is no container in /type/Nil and /type/Routine .
We should definitely do something. Thanks for the report.
Maybe expand the section at https://docs.perl6.org/type/Slip#constant_Empty and refer to there from everywhere in the docs where Empty is mentioned?
We'll try to do that too, but actually the first part of the OP was kinda solved; the second paragraph is the done I'm kind of lost about.
@gfldex Could you clarify what you mean by the last paragraph?
/me hates dual issue issues :-)