samth changed the topic of #racket to: Racket v7.7 has been released: https://blog.racket-lang.org/2020/05/racket-v7-7.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
catonano_ has joined #racket
catonano has quit [Ping timeout: 246 seconds]
catonano_ is now known as catonano
lbeckman314 has joined #racket
_whitelogger has joined #racket
vraid has quit [Remote host closed the connection]
efm has quit [Ping timeout: 246 seconds]
efm has joined #racket
TCZ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 264 seconds]
pilne has quit [Quit: Why is the alphabet in that order? Is it because of that song?]
ecraven- has joined #racket
jmiven_ has joined #racket
jmiven has quit [*.net *.split]
und-l-t-d[m] has quit [*.net *.split]
jackhill has quit [*.net *.split]
m1dnight_ has quit [*.net *.split]
cky has quit [*.net *.split]
ecraven has quit [*.net *.split]
ecraven- is now known as ecraven
wingsorc has quit [Quit: Leaving]
notzmv has quit [Ping timeout: 246 seconds]
camlriot42 has quit [Ping timeout: 252 seconds]
deselby has quit [Ping timeout: 256 seconds]
psiperator[m] has quit [Ping timeout: 256 seconds]
sciamano has quit [Ping timeout: 244 seconds]
olavx200 has quit [Ping timeout: 240 seconds]
BitPuffin has quit [Ping timeout: 244 seconds]
juanfra_ has quit [Ping timeout: 260 seconds]
juanfra_ has joined #racket
BitPuffin has joined #racket
libertyprime has quit [Ping timeout: 256 seconds]
olavx200 has joined #racket
sciamano has joined #racket
und-l-t-d[m] has joined #racket
psiperator[m] has joined #racket
efm has quit [Ping timeout: 258 seconds]
deselby has joined #racket
libertyprime has joined #racket
efm has joined #racket
KindTwo has joined #racket
KindOne has quit [Ping timeout: 260 seconds]
KindTwo is now known as KindOne
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
libertyprime has quit [Ping timeout: 246 seconds]
lbeckman314 has quit [Ping timeout: 260 seconds]
dddddd has quit [Ping timeout: 265 seconds]
libertyprime has joined #racket
libertyprime has quit [Quit: leaving]
Sgeo has quit [Read error: Connection reset by peer]
efm has quit [Ping timeout: 272 seconds]
endformationage has quit [Quit: WeeChat 2.6]
efm has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
narimiran has joined #racket
Sgeo has joined #racket
sword865 has joined #racket
rgherdt has joined #racket
corpix has quit [Remote host closed the connection]
corpix has joined #racket
dmiles has quit [Ping timeout: 256 seconds]
dmiles has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 258 seconds]
idstam has joined #racket
jshap has quit [Ping timeout: 272 seconds]
Sgeo has quit [Read error: Connection reset by peer]
jshap has joined #racket
jmiven_ is now known as jmiven
true-grue has joined #racket
ArthurStrong has quit [Ping timeout: 246 seconds]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
orivej has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
catonano has quit [Quit: catonano]
true-grue has quit [Quit: Leaving]
catonano has joined #racket
<und-l-t-d[m]> I'm curious why `struct/contract` doesn't allow #:constructor-name
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
efm has quit [Remote host closed the connection]
efm has joined #racket
iyzsong has joined #racket
badkins has joined #racket
TCZ has joined #racket
dddddd has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
TCZ is now known as DoomSlayer2020
orivej has quit [Ping timeout: 246 seconds]
badkins has joined #racket
DoomSlayer2020 has quit [Quit: Leaving]
camelCaser has quit [Ping timeout: 246 seconds]
camelCaser has joined #racket
orivej has joined #racket
efm has quit [Ping timeout: 260 seconds]
tonyg has quit [Quit: leaving]
badkins has quit []
iyzsong has quit [Ping timeout: 260 seconds]
Sgeo has joined #racket
tilpner has quit [Ping timeout: 272 seconds]
davidl_ has quit [Quit: WeeChat 2.7.1]
KindTwo has joined #racket
TCZ has joined #racket
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
jackhill has joined #racket
cky has joined #racket
m1dnight_ has joined #racket
lbeckman314 has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
srandon111 has joined #racket
nebunez has joined #racket
ArneBab has joined #racket
TCZ has quit [Quit: Leaving]
wingsorc has joined #racket
ArneBab has quit [Ping timeout: 260 seconds]
acarrico has quit [Ping timeout: 260 seconds]
sauvin has quit [Ping timeout: 256 seconds]
selimcan has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
selimcan has quit [Quit: Leaving]
sagax has quit [Remote host closed the connection]
psiperator[m] has quit [Ping timeout: 240 seconds]
sciamano has quit [Ping timeout: 240 seconds]
olavx200 has quit [Ping timeout: 260 seconds]
BitPuffin has quit [Ping timeout: 256 seconds]
juanfra_ has quit [Ping timeout: 244 seconds]
deselby has quit [Ping timeout: 260 seconds]
und-l-t-d[m] has quit [Ping timeout: 260 seconds]
Sgeo has joined #racket
ArthurStrong has joined #racket
KindOne has quit [Ping timeout: 256 seconds]
KindTwo has joined #racket
KindOne has joined #racket
KindTwo has quit [Ping timeout: 272 seconds]
KindOne has quit [Ping timeout: 256 seconds]
und-l-t-d[m] has joined #racket
zig has quit [Ping timeout: 264 seconds]
lbeckman314 has quit [Read error: Connection reset by peer]
bonz060 has joined #racket
ArthurStrong has quit [Read error: Connection reset by peer]
pierpal has joined #racket
orivej_ has joined #racket
tilpner has joined #racket
orivej has quit [Ping timeout: 272 seconds]
xsperry has joined #racket
deselby has joined #racket
BitPuffin has joined #racket
psiperator[m] has joined #racket
juanfra_ has joined #racket
olavx200 has joined #racket
sciamano has joined #racket
pierpal has quit [Ping timeout: 246 seconds]
KindOne has joined #racket
pierpal has joined #racket
pierpal has quit [Ping timeout: 272 seconds]
narimiran has quit [Ping timeout: 260 seconds]
endformationage has joined #racket
stagboot has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
<greghendershott> und-l-t-d[m]: I don't know why. Maybe the name doesn't work well with contract blame error messages?
<greghendershott> I've never really understood why `#:construct-name` exists at all. It doesn't feel like a must-have feature.
<greghendershott> i.e. why not just name the struct differently, and/or rename the constructor when provide-ing it if you want?
<greghendershott> So if I were implementing `struct/contract`, I might skip that because why bother. :)
<greghendershott> But I didn't implement it, so, I don't know.
<greghendershott> `struct` does have some options, like auto init fields, that seem not used much or at all, at least in modern Racket?
<greghendershott> Well that's anecdotal. Not used much in Racket source I've read, which is hardly some exhaustive sample. :)
zmt01 has joined #racket
zmt00 has quit [Ping timeout: 260 seconds]
<friscosam> struct does feel like it has a kitchen-sink of options
<friscosam> Which I'm guessing makes it hard to make extensions/variations on how it works.
KindOne has quit [Ping timeout: 272 seconds]
rgherdt has quit [Remote host closed the connection]
KindOne has joined #racket
KindTwo has joined #racket
KindOne has quit [Ping timeout: 265 seconds]
KindTwo is now known as KindOne
sagax has joined #racket
pierpal has joined #racket
pierpal has quit [Ping timeout: 260 seconds]
<stagboot> can anyone write a macro version of (define (f . xs) (let ([ys (map add1 xs)]) ys)) using syntax-parse? i'd be astounded & humbled.
SGASAU has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 252 seconds]
orivej has joined #racket
<friscosam> Not sure I follow, do you mean a macro that takes some number of terms and makes a list with add1 applied to each term?
<stagboot> indeed, i do!
<stagboot> i've tried so many ways to write it, but they've all failed for different reasons, so i can't just say "here's the error, right here."
<friscosam> (define-syntax-rule (add1* e ...) (list (add1 e) ...))
<friscosam> without syntax/parse tho
pierpal has joined #racket
<friscosam> rudybot: eval (define-syntax-rule (add1* e ...) (list (add1 e) ...)) (add1* 2 3 4 5 6 7)
<rudybot> friscosam: your sandbox is ready
<rudybot> friscosam: ; Value: '(3 4 5 6 7 8)
pierpal has quit [Read error: Connection reset by peer]
<stagboot> friscosam: true, yes that works. i was unclear; i should've specified that use of the let block (or an alternative like with-syntax) is required; that's what makes it tricky.
<stagboot> actually, hold on. i don't even understand how the implementation you gave works; it seems that add1 is being applied to a list, even though i thought it only expects a number?
efm has joined #racket