samth changed the topic of #racket to: Racket v7.8 has been released: https://blog.racket-lang.org/2020/08/racket-v7-8.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
orivej has quit [Ping timeout: 260 seconds]
catonano_ has joined #racket
catonano has quit [Ping timeout: 256 seconds]
catonano_ is now known as catonano
mirrorbird is now known as mockduck
MetaHertz has quit [Remote host closed the connection]
mockduck has quit [Quit: Leaving]
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
TCZ has quit [Quit: Leaving]
rj_ has quit [Ping timeout: 246 seconds]
rj_ has joined #racket
nebunez has quit [Ping timeout: 260 seconds]
wingsorc has quit [Ping timeout: 240 seconds]
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
arpunk has quit [Remote host closed the connection]
arpunk has joined #racket
rj_ has joined #racket
_whitelogger has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
<countvajhula> does anyone know if there's a way to intentionally match the dot character in macros?
badkins has joined #racket
<countvajhula> e.g. in something like `(mac . cheese)`, it should match the macro `mac` only if an actual dot is there, as opposed to packing the arguments passed to mac as the dot usually does
<countvajhula> i.e. this packs any arguments into `cheese`: (define-simple-macro (mac . cheese) ...)
<countvajhula> i tried (define-simple-macro (mac (~datum .) cheese) ...) but it doesn't like that at all
badkins has quit [Ping timeout: 256 seconds]
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
badkins has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
badkins has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 256 seconds]
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
MetaHertz has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
endformationage has quit [Quit: WeeChat 2.9]
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
narimiran has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
<dzoe> countvajhula: I'd go with define-syntax and syntax-rules probably (or parse).
rj_ has joined #racket
<dzoe> countvajhula: Ok, I was probably wrong. A few experiments show that at the time of expansion the syntax objects already lost the information.
<dzoe> countvajhula: a simple test: (define-syntax (mac stx) (displayln stx) (datum->syntax stx '1)) (mac . 1) (mac . (1 2)) (mac 1)
Sgeo_ has quit [Read error: Connection reset by peer]
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
rj_ has quit [Ping timeout: 258 seconds]
Fernando-Basso[m has quit [Quit: killed]
yurb has quit [Quit: killed]
peddie has quit [Quit: killed]
rj_ has joined #racket
<countvajhula> dzoe: that's a good test. at first I thought the first case (mac . 1) was preserving the dot, but looks like that's actually a "syntax pair" and the dot is just indicating that it's a cons
<countvajhula> so the information is lost prior to that point... i guess this is where reader extensions come in?
<countvajhula> and thank you for checking!
peddie has joined #racket
yurb has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
cloveistaken has joined #racket
rj_ has quit [Ping timeout: 244 seconds]
_whitelogger has joined #racket
countvajhula has joined #racket
DGASAU has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
cjv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cjv has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
sputny has quit [Read error: Connection reset by peer]
sputny has joined #racket
rj_ has joined #racket
cjv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rj_ has quit [Ping timeout: 246 seconds]
rj_ has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
liltechdude has joined #racket
<liltechdude> Hello, how to stop timer% (from racket/gui) inside notify-callback?
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
samth has quit [Ping timeout: 260 seconds]
samth has joined #racket
catonano has quit [Read error: Connection reset by peer]
catonano has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
sputny has quit [Read error: Connection reset by peer]
sputny has joined #racket
phillbush has joined #racket
sputny has quit [Ping timeout: 260 seconds]
countvajhula has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
sputny has joined #racket
rj_ has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
liltechdude has quit [Remote host closed the connection]
sputny has quit [Quit: sputny]
sputny has joined #racket
TCZ has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
orivej has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
narimiran has quit [Ping timeout: 258 seconds]
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
BitPuffin has joined #racket
notzmv has joined #racket
wingsorc has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
badkins has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
badkins has quit [Ping timeout: 256 seconds]
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
countvajhula has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
<greghendershott> rudybot: later tell countvajhula Although not sure exactly relevant, there are 3 reader dot parameters https://docs.racket-lang.org/reference/Reading.html#(def._((quote._~23~25kernel)._read-accept-dot))
<rudybot> greghendershott: I asked `MemoServ' to forward the message to countvajhula.
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
Fernando-Basso[m has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
orivej has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
nebunez has joined #racket
arpunk has quit [Read error: Connection reset by peer]
arpunk has joined #racket
sputny has quit [Remote host closed the connection]
arpunk has quit [Read error: Connection reset by peer]
arpunk has joined #racket
nebunez has quit [Read error: Connection reset by peer]
badkins has joined #racket
Sgeo has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
badkins has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
nebunez has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
nebunez has quit [Ping timeout: 240 seconds]
rj_ has quit [Ping timeout: 240 seconds]
evdubs_ has joined #racket
evdubs has quit [Ping timeout: 244 seconds]
rj_ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
badkins has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
rmnull has joined #racket
rmnull has quit [Read error: Connection reset by peer]
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
countvajhula has joined #racket
arpunk has quit [Read error: Connection reset by peer]
arpunk has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
narimiran has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
arpunk has quit [Read error: Connection reset by peer]
rj_ has joined #racket
sm2n has quit [Read error: Connection reset by peer]
sm2n has joined #racket
arpunk has joined #racket
rj_ has quit [Quit: WeeChat 2.5]
cjv has joined #racket
sputny has joined #racket
countvajhula has joined #racket
zacts_ has joined #racket
zacts_ has quit [Client Quit]
zacts_ has joined #racket
zacts_ is now known as zacts
zacts has quit [Client Quit]
zacts has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
countvajhula has joined #racket
TCZ has quit [Quit: Leaving]
countvajhula has quit [Ping timeout: 240 seconds]
countvajhula has joined #racket
zacts has quit [Quit: leaving]
badkins has quit [Remote host closed the connection]
zacts has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
zacts has quit [Quit: leaving]
badkins has joined #racket
zacts has joined #racket
zacts has quit [Quit: leaving]
zacts has joined #racket
endformationage has joined #racket
cjv has quit [Quit: Textual IRC Client: www.textualapp.com]
zacts has quit [Quit: leaving]
zacts has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket
bitmapper has joined #racket
countvajhula has quit [Remote host closed the connection]
zacts has quit [Quit: leaving]
narimiran has quit [Ping timeout: 240 seconds]
acarrico has joined #racket
sputny has quit [Quit: sputny]
nebunez has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
countvajhula has joined #racket
<countvajhula> greghendershott: thanks, I'll take a look!
TCZ has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
countvajhula has joined #racket
selimcan has joined #racket
TCZ has quit [Quit: Leaving]
zacts has joined #racket
ridik has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: leaving]
zacts has joined #racket
ridik has quit [Quit: Leaving]
TCZ has joined #racket
ridik has joined #racket
countvajhula has joined #racket
<countvajhula> reading about those parameters definitely sheds some light on how racket treats the literal dot
<countvajhula> for instance, turns out '(1 . 2 . 3) is valid syntax, TIL
<countvajhula> sounds like read-accept-infix-dot controls whether that example would be considered valid or not
<countvajhula> so that setting it to false would make '(1 . 2 . 3) unacceptable, I blv
<countvajhula> but I just tried that and it still accepted it, so I don't know
mirrorbird has joined #racket
<countvajhula> from the sounds of it, configuring these parameters probably won't allow something like (~datum .) to work
cloveistaken has quit [Ping timeout: 244 seconds]
aidalgol has quit [Read error: Connection reset by peer]
selimcan has quit [Ping timeout: 258 seconds]
aidalgol has joined #racket
aidalgol has quit [Read error: Connection reset by peer]
countvajhula has quit [Ping timeout: 260 seconds]
aidalgol has joined #racket
zacts has quit [Quit: leaving]
ridik has quit [Quit: Leaving]
phillbush has quit [Quit: Leaving]
acarrico has quit [Ping timeout: 272 seconds]
acarrico has joined #racket
badkins has joined #racket