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
aidalgol has joined #racket
vraid has quit [Ping timeout: 260 seconds]
efm has joined #racket
evdubs_ is now known as evdubs
catonano_ has quit [Ping timeout: 265 seconds]
phwalkr has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
_whitelogger has joined #racket
Sgeo has joined #racket
m455 has joined #racket
phwalkr has quit []
elcaro has joined #racket
<elcaro> i'm converting an integer to a list of digits, but my function seems a bit verbose... am i missing a trick?
<elcaro> (map (lambda (x) (string->number (string x))) (string->list (number->string 1123)))
<elcaro> nvm... found an SO post that covers this
m455 has quit [Quit: Leaving.]
ArthurStrong has quit [Ping timeout: 246 seconds]
dddddd has quit [Ping timeout: 260 seconds]
<erkin> You can compartmentalise your code into separate procedures to reduce verbosity: (define char->number (compose string->number string)) (define number->list (compose string->list number->string)) (define (number->digits n) (map char->number (number->list n)))
<erkin> Makes your code more human-readable and allows you to reuse the same logic elsewhere.
aidalgol has quit [Remote host closed the connection]
Sgeo has quit [Ping timeout: 260 seconds]
narimiran has joined #racket
orivej has joined #racket
sauvin has joined #racket
<dzoe> samth: wow! Five days from "I am refactoring the loops" to this. I wonder whether Matthew teaches any students these days or whether he ever sleeps.
<dzoe> And I thought I am the one who almost doesn't sleep but with all the grading I need to finish I had to put the interesting stuff aside for a few days.
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #racket
aidalgol has joined #racket
Sgeo has joined #racket
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
srji has quit [Ping timeout: 240 seconds]
Sgeo has quit [Read error: Connection reset by peer]
rgherdt has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #racket
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #racket
efm has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
lockywolf has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #racket
dddddd has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
lockywolf_ has quit [Ping timeout: 256 seconds]
nan` has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
nan` has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
nan` has joined #racket
poga has quit [Quit: WeeChat 1.9.1]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
TCZ has joined #racket
<samth> dzoe: I think he has one PhD student right now, and the semester is over teaching-wise. I also wonder about the sleep part.
dataangel has quit [Ping timeout: 264 seconds]
ArthurStrong has joined #racket
TCZ has quit [Quit: Leaving]
miskatonic has joined #racket
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
dataangel has joined #racket
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #racket
SGASAU has quit [Ping timeout: 265 seconds]
Sgeo has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
lockywolf has joined #racket
orivej has quit [Ping timeout: 264 seconds]
narimiran has quit [Ping timeout: 264 seconds]
orivej_ has joined #racket
narimiran has joined #racket
dataangel has quit [Quit: Asta la vista]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #racket
dataangel has joined #racket
TCZ has joined #racket
nebunez has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
evdubs has quit [Quit: Leaving]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
evdubs has joined #racket
nebunez has quit [Ping timeout: 260 seconds]
efm has joined #racket
jmiven has quit [Quit: reboot]
TCZ has quit [Quit: Leaving]
jmiven has joined #racket
nan`_ has joined #racket
nan` has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
aeth has quit [Read error: Connection reset by peer]
orivej has joined #racket
aeth has joined #racket
srandon111 has joined #racket
nullcone has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
orivej_ has quit [Ping timeout: 264 seconds]
dddddd has quit [Ping timeout: 260 seconds]
sauvin has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
miskatonic has joined #racket
aidalgol has quit [Remote host closed the connection]
nebunez has joined #racket
dddddd has joined #racket
_whitelogger has joined #racket
ohama has quit [Disconnected by services]
ohama has joined #racket
emacsoma1 has joined #racket
Ekho- has joined #racket
andrei-n has quit [*.net *.split]
dataangel has quit [*.net *.split]
ArthurStrong has quit [*.net *.split]
FreeFull has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
lexi-lambda has quit [*.net *.split]
_apg has quit [*.net *.split]
wgetch has quit [*.net *.split]
Ekho has quit [*.net *.split]
ncl3 has quit [*.net *.split]
phI||Ip has quit [*.net *.split]
dzoe has quit [*.net *.split]
mario-goulart has quit [*.net *.split]
Ekho- is now known as Ekho
notzmv has quit [Ping timeout: 246 seconds]
FreeFull has joined #racket
lexi-lambda has joined #racket
wgetch has joined #racket
narimiran has quit [Ping timeout: 256 seconds]
terrorjack has quit [Ping timeout: 246 seconds]
edmoore has quit [Read error: Connection reset by peer]
lexi-lambda has quit [Ping timeout: 272 seconds]
bchar has quit [Read error: Connection reset by peer]
lexi-lambda has joined #racket
edmoore has joined #racket
aidalgol has joined #racket
TCZ has joined #racket
lexi-lambda has quit [Ping timeout: 264 seconds]
lexi-lambda has joined #racket
edmoore has quit [Ping timeout: 256 seconds]
edmoore has joined #racket
lexi-lambda has quit [Ping timeout: 272 seconds]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
edmoore has quit [Read error: Connection reset by peer]
lexi-lambda has joined #racket
lexi-lambda has quit [Ping timeout: 246 seconds]
r3x5- has joined #racket
r3x5 has quit [Remote host closed the connection]
lexi-lambda has joined #racket
terrorjack has joined #racket
terrorjack has quit [Max SendQ exceeded]
lexi-lambda has quit [Ping timeout: 260 seconds]
lexi-lambda has joined #racket
terrorjack has joined #racket
bchar has joined #racket
edmoore has joined #racket
TCZ has quit [Quit: Leaving]
srandon111 has quit [Quit: leaving]
nullcone has quit [Quit: Connection closed for inactivity]
bjarno_ has quit [Ping timeout: 272 seconds]
nan`_ has quit [Ping timeout: 260 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
catonano has quit [Quit: catonano]
efm has quit [Ping timeout: 258 seconds]
efm has joined #racket
notzmv has joined #racket
orivej has quit [Ping timeout: 258 seconds]
TCZ has joined #racket
efm has quit [Ping timeout: 260 seconds]
lockywolf has quit [Ping timeout: 258 seconds]