tonyg changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://gather.town/app/wH1EDG3McffLjrs0/racket-users -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer!
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
Tuplanolla has quit [Quit: Leaving.]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
mwnaylor has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
notzmv has quit [Ping timeout: 255 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
morte_ has joined #racket
ec_ has joined #racket
notzmv has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
morte_ has quit [Ping timeout: 255 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
fun-safe-math has quit []
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
runrin has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
thegeekinside has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
thegeekinside has quit [Read error: Connection reset by peer]
ec_ has joined #racket
thegeekinside has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
thegeekinside has quit [Read error: Connection reset by peer]
ec_ has quit [Ping timeout: 240 seconds]
thegeekinside has joined #racket
ec_ has joined #racket
thegeekinside has quit [Read error: Connection reset by peer]
runrin has quit [Ping timeout: 255 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
thegeekinside has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
skapata has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
thegeekinside has quit [Read error: Connection reset by peer]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
Putonlalla has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
mwnaylor has quit [Ping timeout: 260 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
notzmv has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
jeosol has quit [Quit: Client closed]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Remote host closed the connection]
ec_ has joined #racket
mdhughes has quit [Server closed connection]
mdhughes has joined #racket
morte_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
dhil has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
thegeekinside has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
<Putonlalla> I'm trying to simplify a `syntax-case` macro by making some of its clauses recursive. I used the macro stepper to check that the result looks correct. However, it still gives me an `unbound identifier` error. What am I not taking into account?
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
<samth> Putonlalla: it's hard to know without looking at your code
<Putonlalla> I figured that might be the case, but it's a bit of a mess, so I was hoping I wouldn't have to minimize it.
<Putonlalla> I can do so soon, but here's the gist of it.
ncf has quit [Server closed connection]
ncf has joined #racket
<Putonlalla> If I write `(define-syntax (generate stx) (syntax-case stx () ((_ (the rest ...) def) #;(generating some definitions using with-syntax)) ((_ (the rest ...)) #;(generating the same definitions except with some def set to some-value))))`, everything works.
<Putonlalla> However, if I write `(define-syntax (generate stx) (syntax-case stx () ((_ (the rest ...) def) #;(generating some definitions using with-syntax)) ((_ (the rest ...)) (syntax (generate (the rest ...) some-value)))))`, everything breaks mysteriously.
<Putonlalla> To my inexperienced eye, these two definitions should behave exactly the same.
<samth> Putonlalla: if you're binding an identifier in one step and then generating the reference in the second step then it won't work
thegeekinside has quit [Read error: Connection reset by peer]
<Putonlalla> I think I noticed that. Why, though?
dhil has quit [Ping timeout: 240 seconds]
runrin has joined #racket
skapata has joined #racket
runrin has quit [Client Quit]
runrin has joined #racket
FreeFull has joined #racket
<samth> Putonlalla: what hygiene amounts to (in part) is that identifiers created by a particular step of macro expansion don't capture (bind) identifiers from other steps of macro expansion
<samth> there's no special connection between two different uses of the same macro
<Putonlalla> Oh, I see. It's just that.
thegeekinside has joined #racket
runrin has quit [Quit: leaving]
thegeekinside has quit [Read error: Connection reset by peer]
runrin has joined #racket
thegeekinside has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
dhil has joined #racket
gnomon has quit [Server closed connection]
gnomon has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
thegeekinside has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
Tuplanolla has joined #racket
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
dhil has quit [Ping timeout: 255 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
mjt128 has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
morte_ has quit [Remote host closed the connection]
morte has joined #racket
ec_ has joined #racket
mwnaylor has joined #racket
mjt128 has quit [Ping timeout: 260 seconds]
shawnw has joined #racket
ormaaj has quit [Server closed connection]
ormaaj has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
m5zs7k has quit [Server closed connection]
m5zs7k has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
morte_ has joined #racket
ec_ has joined #racket
morte has quit [Ping timeout: 250 seconds]
morte has joined #racket
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #racket