Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2017-03-06

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

All times shown according to UTC.

Time Nick Message
02:48 ilbot3 joined #6macros
17:37 Ven joined #6macros
18:18 FROGGS joined #6macros
18:38 Ven joined #6macros
20:09 Ven joined #6macros
20:24 vendethiel joined #6macros
20:56 vendethiel masak: do we have a github issue about what we discussed https://irclog.perlgeek.de/6macros/2017-02-27 + the next day?
20:56 vendethiel I realized I was very wrong then :-)
20:58 cognominal salut vendethiel
20:58 vendethiel hello
21:17 Ven joined #6macros
21:25 vendethiel Okay, done writing the setf-related thingie. Good. now...
21:25 Ven joined #6macros
21:26 vendethiel I just started reading Common Lisp Recipes (only 5 months after getting it! woo!) and I realize how wrong I was at first (2017-02-27, 28 - as I linked previously).
21:27 vendethiel (I guess what happened on the '27 is mostly inconsequential, mostly about quasis nesting/scoping)
21:27 vendethiel this message in particular shows a misunderstanding: https://irclog.perlgeek.de/6macros/2017-02-28#i_14177763
21:33 vendethiel it's not interesting at all in this case
21:51 vendethiel and mostly - it's not codewalking
21:52 vendethiel what's actually interesting is **injecting symbols**
21:52 vendethiel so we're back to the "hygiene makes it hard to write a lot of macros" point.
21:54 vendethiel I realized that when looking at something tangential - http://clhs.lisp.se/Body/m_defi_1.htm define-symbol-macro
21:54 vendethiel can we, in 007 nowadays, write `macro term:<v> { ... }; v`
21:55 Ven joined #6macros
21:55 vendethiel I need to check, and I only have my windows computer here.
21:56 vendethiel I'm not sure why defun and defmacro have short names, but define-symbol-macro doesn't.. :)
21:56 vendethiel anyway, there's a clear duality between define-symbol-macro <=> symbol-macrolet and defmacro <=> macrolet
21:58 vendethiel However we're still stuck at the "help me have these identifiers make their way into the user code"
21:58 vendethiel I was thinking of adding a trait to a macro
21:58 vendethiel macro foo($node) is injecting(<< &infix:<+> $a >>) { $node }
21:58 vendethiel foo({ 3 + 4 }) # this would use the macro's +
21:59 vendethiel I'm just throwing this idea I had. It's not very good (dynamic identifiers, how do you set the values, etc), but I don't think we have a solution yet, so I'll throw stuff around :)

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