<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.