> On May 7, 2019, at 9:39 AM, zeRusski <vladilen.ko...@gmail.com> wrote:
>
> I asked in a separate thread how one debugs set of scopes in Racket macros. I
> appreciate the question may read a bit hand-wavy and abstract, so I split out
> the piece of code I had in mind into a separate package so that interested
> Racketeers could have a look and their time permitting maybe even suggest
> improvements.
>
> Tilda is nothing but an opinionated threading macro. Even though "threading"
> macros punctuate all of my Clojure code I've been mostly making do without
> them in Racket. I was just being lazy tbh. I finally caved but instead of
> using off the shelf implementation I turned this into a nice exercise in
> macrology.
>
> https://github.com/vkz/tilda
>
> README shows off its capabilities with silly but hopefully sufficient
> examples.
>
> If you have 5-10min on your hands and would like to help me learn, I'd
> appreciate PRs that improve or critique my code. Obviously, feel free to
> write here, but Github may provide a nicer interface to discuss code.
>
> Also, see if you can break it:
> - break scoping rules,
> - hit an error that doesn't point to correct location with errortrace on etc.
Let me point out that if ~> specified an identifier (as suggested in my first
response) you could co-mingle two threaded computations, keeping separate
concerns that don’t matter as opposed to bundling them up in structs or lists
or whatever you have to do if you have only one. At first I thought #:as would
you let you do so, but that’s not correct. It just names the threaded value.
Did I overlook anything?
— Matthias
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-users/9E6E2826-4DF8-419F-8321-3E4D432F3D5F%40felleisen.org.
For more options, visit https://groups.google.com/d/optout.