Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2017-08-11

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:52 ilbot3 joined #6macros
02:20 cgfbee joined #6macros
19:42 masak Ven: how about now?
19:54 masak oh well. we can start asynchronously.
19:55 masak I can see your side of the argument: make `return` *dynamic* so that whenever one is specified in a quasi, the corresponding one in an injection ends up finding *its* innermost surrounding routine to return from
19:56 masak or maybe "dynamic" is the wrong description here. it's actually completely lexical, once it's been injected.
19:56 masak "unhygienic" is probably a more apt description
19:57 masak and that's the problem I have with it -- in 007 (and in Perl 6), `return` is lexical, which means you should be able to assume that a `return` binds to its innermost surrounding routine
20:30 masak in order of decreasing "naturalness" or Least Surprise -- lexical return, then return-binds-to-quasi (proposed by masak), then unhygienic return (proposed by Ven)
20:30 masak but I'm not sure that last line is distinguishable from me just saying "this is my preference" :)

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary