Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-12-20

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

All times shown according to UTC.

Time Nick Message
02:25 FROGGS_ joined #6macros
02:49 ilbot3 joined #6macros
04:44 vendethiel joined #6macros
11:55 vendethiel joined #6macros
14:18 vendethiel- joined #6macros
16:14 Ven joined #6macros
16:51 vendethiel joined #6macros
17:42 Ven joined #6macros
18:11 vendethiel joined #6macros
22:32 masak haha
22:33 masak how... how would we implement `quasi @ Q::Unquote { ... }` ? :P
22:33 masak it runs into escaping problems. there's no way to talk about "literal unquotes" in a quasi. they just turn into holes.
22:37 masak (however, you *can* create a Q::Unquote synthetically without a problem, and pass it into an unquote somewhere, so `{{{x @ Q::Unquote}}}` makes sense. which means that `quasi Q::Unquote { {{{x @ Q::Unquote}}} }` would actually work)
22:38 masak (yes, that's a quasi of type unquote with an actual unquote syntax taking an AST containing a synthetic unquote, the whole thing essentially being a no-op)
22:40 masak I guess this is what going crazy with the help of macros feels like
23:02 vendethiel yeaaa
23:06 masak I guess I'll just implement `quasi @ Q::Unquote` but have it fail at compile time, putting a *very* interesting error message in there, culminating in "...so if you think you actually have a use case for this, please contact the 007 implementors"

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