dzoe changed the topic of #racket to: Racket :: Racket v8.0 has been released: https://blog.racket-lang.org/2021/02/racket-v8-0.html | https://racket-lang.org | https://pkgs.racket-lang.org | Paste at http://pasterack.org | This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer! | https://racket-news.com/ | Next meetup - Sat, 3 Apr 2021 UTC at 20:00 https://gather.town/app/wH1EDG3McffL
sxmx has joined #racket
aeth has quit [Ping timeout: 268 seconds]
aeth has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 268 seconds]
aeth has quit [Ping timeout: 265 seconds]
aeth has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
sagax has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
zenspider has quit [Ping timeout: 250 seconds]
zenspider has joined #racket
orivej has joined #racket
klltkr has quit [Remote host closed the connection]
rekahsoft has quit [Ping timeout: 268 seconds]
Codaraxis__ has joined #racket
Codaraxis_ has quit [Ping timeout: 240 seconds]
brj has quit [Ping timeout: 260 seconds]
brj has joined #racket
fredmanglis has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 268 seconds]
epony has quit [Remote host closed the connection]
epony has joined #racket
<SrPx> What is the best way to emulate ADTs (sum types) in Racket, using only Scheme primitives (R6RS)? I'm thinking in using a pair with a symbol representing the constructor on the first element, and a tuple of the fields on the second element. But I wonder if there is a more efficient way?
brj has quit [Ping timeout: 240 seconds]
brj has joined #racket
andrei-n has joined #racket
aeth has quit [Ping timeout: 252 seconds]
aeth has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
rgherdt has joined #racket
badkins has joined #racket
fredmanglis has quit [Ping timeout: 240 seconds]
fredmanglis has joined #racket
badkins has quit [Ping timeout: 252 seconds]
narimiran has joined #racket
orivej has quit [Ping timeout: 268 seconds]
Sgeo has quit [Read error: Connection reset by peer]
narimiran has quit [Quit: leaving]
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
fredmanglis has quit [Ping timeout: 240 seconds]
orivej has joined #racket
fredmanglis has joined #racket
johnjay has quit [Ping timeout: 240 seconds]
<bremner> SrPx: afaik the usual approach in racket is to use structs. I'm not sure if records in R6RS would be a suitable substitute (or what SRFI9 brings)
johnjay has joined #racket
srandon111 has joined #racket
srandon111 has quit [Remote host closed the connection]
johnjay has quit [Ping timeout: 268 seconds]
johnjay has joined #racket
Codaraxis__ has quit [Remote host closed the connection]
Codaraxis__ has joined #racket
Codaraxis__ has quit [Remote host closed the connection]
Codaraxis__ has joined #racket
brj has quit [Ping timeout: 240 seconds]
brj has joined #racket
badkins has joined #racket
Noisytoot is now known as Noisytoot__
Noisytoot__ is now known as Noisytoot
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
<SrPx> hmmm
<SrPx> bremner: I've benchmarked and using a pair with a symbol as the tag, and a vector for the fields, was about 35% faster than records
<SrPx> is that expected?
notzmv has quit [Read error: Connection reset by peer]
notzmv has joined #racket
notzmv is now known as Guest35219
klltkr has joined #racket
Guest35219 has quit [Remote host closed the connection]
notzmv- has joined #racket
notzmv- is now known as notzmv
<bremner> dunno. Which records was that, the built-in or srfi9 ? some chatter on stack-overflow suggests the srfi9 ones are better, fwiw
endformationage has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
<SrPx> I see
<SrPx> I don't know what srfi9 is, I'll check
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
fredmanglis has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Sgeo has joined #racket
AkechiShiro has quit [Quit: WeeChat 2.9]
dataangel has quit [Ping timeout: 260 seconds]
AkechiShiro has joined #racket
andrei-n has quit [Quit: Leaving]
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 265 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
badkins has joined #racket
brj has quit [Ping timeout: 252 seconds]
brj has joined #racket
FreeFull has joined #racket
FreeFull_ has joined #racket
FreeFull has quit [Disconnected by services]
FreeFull_ is now known as FreeFull
rgherdt has quit [Ping timeout: 265 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
acarrico has joined #racket
FreeFull has quit []