Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
01:52 ilbot3 joined #6macros
05:00 masak joined #6macros
14:19 Ven joined #6macros
14:38 Guest12884 masak: sorry! I'm still on holidays. Not much data to use
14:38 Ven`` I will say, however: I don't believe in "least surprise" or anything like that :)
14:39 Ven`` I think there is something to be said about lexicality/sub-lexicality and hygiene
14:40 Ven`` if you make the case for `return` returning out of the macro itself, you could *maybe* go on a slippery slope and make a case for exceptions
14:41 Ven`` (they use the call stack, which is dynamic, but from the macro's invocant, which is not hygienic)
18:26 masak no need to apologize for being on holiday. ;) I'm sorry I'm not able to review your PR more promptly.
18:26 masak I confess to not knowing what "sub-lexical" means.
18:28 masak (but I was thinking about `is parsed` today and needing to serve two masters in terms of lexical OUTER. I think the boring-but-sane thing might be something like `is parsed(sub (G) { return / ... <G.ident> ... / })`, or, sugared, `is parsed(-> G / ... <G.ident> .../)` -- anything more clever would be playing with fire)
18:29 masak I *do* make the case for `return` returning out of the macro itself. that's the current default behavior.
18:30 masak but it's a fairly useless default, since we know from basic facts about timing that a `return` would never *constructively* exit the macro
18:31 masak I'm making the case for `return` to refer to the surrounding injection, which would still be lexical in a curiously sideways way
18:32 masak "injection-lexical"
19:33 cognominal joined #6macros
22:18 cognominal joined #6macros
23:56 masak joined #6macros

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