samth changed the topic of #racket to: Racket v7.9 has been released: https://blog.racket-lang.org/2020/11/racket-v7-9.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
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 [Remote host closed the connection]
badkins has joined #racket
dhil has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 265 seconds]
srandon111 has quit [Quit: leaving]
nebunez has joined #racket
mizu_no_oto has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
badkins has quit [Remote host closed the connection]
phillbush 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: 256 seconds]
mizu_no_oto has joined #racket
nperez_ has joined #racket
nperez has quit [Ping timeout: 272 seconds]
aquijoule__ has joined #racket
aquijoule_ has quit [Ping timeout: 246 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
fredmanglis has joined #racket
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
fredmanglis has quit [Read error: Connection reset by peer]
nebunez has quit [Ping timeout: 240 seconds]
fredmanglis has joined #racket
caente has quit [Ping timeout: 272 seconds]
endformationage has quit [Quit: WeeChat 2.9]
fredmanglis has quit [Read error: Connection reset by peer]
nullcone has quit [Quit: Connection closed for inactivity]
fredmanglis has joined #racket
nullcone has joined #racket
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
ephemera__ has quit [Quit: ephemera__]
ephemera_ has joined #racket
fredmanglis has quit [Read error: Connection reset by peer]
fredmanglis has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 264 seconds]
DGASAU has joined #racket
Major_Biscuit has joined #racket
notzmv has quit [Read error: Connection reset by peer]
orivej has joined #racket
rgherdt has joined #racket
Sgeo_ has quit [Read error: Connection reset by peer]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
dhil has joined #racket
<yurb> I have another question about generics. Let's say I want to use it to enable (de)serialization of structs to json. Serialization is straightforward - I define a generic method like to-json that I can call on instances of structs; I'm puzzled by deserialization though - where do I put the (per-type) from-json methods if the instance does not exist prior to deserialization?
badkins has joined #racket
tfb has joined #racket
badkins has quit [Ping timeout: 256 seconds]
<dzoe> yurb: dunno what is the "best" way to do it, but generally I'd just stick with some syntax-stage-time registry being populated by some struct form wrapper
jellie has joined #racket
Major_Biscuit has quit [Ping timeout: 240 seconds]
Major_Biscuit has joined #racket
phillbush has joined #racket
orivej has quit [Ping timeout: 265 seconds]
aeth has quit [Ping timeout: 246 seconds]
aeth has joined #racket
orivej has joined #racket
<yurb> dzoe: I see; currently experimenting with a runtime registry without generics for both serialization and deserialization.
<yurb> Another question :) In a macro I have two pattern variables of unequal length. Is there a way to say in a syntax template to stop expanding ... as soon as the shortest one is exhausted?
Major_Biscuit has quit [Ping timeout: 256 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
tfb has quit []
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
nebunez has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
orivej has quit [Ping timeout: 240 seconds]
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Ping timeout: 264 seconds]
Major_Biscuit has joined #racket
Sgeo has joined #racket
tfb has joined #racket
jellie has quit [Ping timeout: 272 seconds]
jellie has joined #racket
caente has joined #racket
ArneBab has joined #racket
badkins has joined #racket
ArneBab has quit [Remote host closed the connection]
jellie has quit [Ping timeout: 260 seconds]
tfb has quit [Ping timeout: 240 seconds]
mizu_no_oto has joined #racket
jellie has joined #racket
jellie has quit [Ping timeout: 264 seconds]
ArneBab has joined #racket
tfb has joined #racket
jellie has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
jellie has quit [Ping timeout: 272 seconds]
ArneBab has quit [Remote host closed the connection]
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Remote host closed the connection]
tfb has joined #racket
tfb has quit [Ping timeout: 264 seconds]
badkins has joined #racket
tfb has joined #racket
jellie has joined #racket
badkins has quit [Ping timeout: 264 seconds]
badkins has joined #racket
jellie has quit [Ping timeout: 240 seconds]
dustyweb has joined #racket
tfb has quit []
ArneBab has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
ArneBab has quit [Remote host closed the connection]
badkins has quit [Ping timeout: 256 seconds]
jellie has joined #racket
aeth has quit [Ping timeout: 240 seconds]
endformationage has joined #racket
aeth has joined #racket
jellie has quit [Ping timeout: 272 seconds]
Steeve has joined #racket
orivej has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
Major_Biscuit has quit [Ping timeout: 264 seconds]
aeth_ has joined #racket
jellie has joined #racket
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
<friscosam> yurb: yes you can. How you do it can depend on which macro parser you use. Here's one way to do it in syntax-rules. https://gist.github.com/samdphillips/265e4fb580e1c075753a8a833d9745d1
<friscosam> I imagine there are slightly clearer ways of doing it in syntax-case and syntax-parse
jellie has quit [Ping timeout: 246 seconds]
badkins has joined #racket
<yurb> friscosam: thank you! I use syntax-parse, but it's good to know this can be done in multiple ways.
fredmanglis has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
badkins has quit [Ping timeout: 256 seconds]
jellie has joined #racket
aeth has quit [Ping timeout: 265 seconds]
aeth has joined #racket
orivej has quit [Ping timeout: 240 seconds]
badkins has joined #racket
ski has joined #racket
orivej has joined #racket
rj has joined #racket
jellie has quit [Quit: WeeChat 3.0.1]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
orivej has quit [Ping timeout: 246 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
rj has quit [Quit: rj]
rj has joined #racket
ncl3_ is now known as ncl3
rj has quit [Ping timeout: 268 seconds]
Steeve has quit [Quit: end]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
ArneBab has joined #racket
rgherdt has quit [Ping timeout: 265 seconds]