tyson2 has quit [Remote host closed the connection]
countvaj` has quit [Read error: Connection reset by peer]
justsomeguy has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
ur5us_ has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
xgqt has quit [Read error: Connection reset by peer]
xgqt has joined #racket
countvaj` has joined #racket
skapata has quit [Quit: Ĝis.]
notzmv has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
Algernon69 has joined #racket
Algernon91 has joined #racket
Algernon69 has quit [Ping timeout: 240 seconds]
schulze has joined #racket
rgherdt has joined #racket
libertyprime has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
countvaj` has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
gproto23 has joined #racket
ozzloy has quit [Ping timeout: 245 seconds]
ASau` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
ASau has joined #racket
libertyprime has quit [Ping timeout: 256 seconds]
nexeq has joined #racket
nexeq has quit [Client Quit]
nexeq has joined #racket
nexeq has quit [Client Quit]
nexeq has joined #racket
nexeq has quit [Remote host closed the connection]
nexeq has joined #racket
capfredf has joined #racket
codingquark has quit [Ping timeout: 256 seconds]
nexeq has quit [Quit: Quit]
capfredf has quit [Ping timeout: 240 seconds]
nexeq has joined #racket
codingquark has joined #racket
Avichi has joined #racket
Algernon91 has quit [Read error: Connection reset by peer]
Algernon91 has joined #racket
gproto23 has quit [Read error: Connection reset by peer]
gproto23 has joined #racket
Algernon91 has quit [Ping timeout: 268 seconds]
Algernon69 has joined #racket
s-liao has quit [Quit: Client closed]
evdubs_ has joined #racket
evdubs has quit [Ping timeout: 240 seconds]
skapata has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
s-liao has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
tyson2 has joined #racket
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
nexeq has quit [Ping timeout: 245 seconds]
nexeq has joined #racket
libertyprime has joined #racket
libertyprime has quit [Ping timeout: 245 seconds]
s-liao has joined #racket
s-liao has quit [Client Quit]
justsomeguy has left #racket [WeeChat 3.3]
monkey_ has joined #racket
notzmv has quit [Ping timeout: 268 seconds]
Algernon69 has quit [Ping timeout: 268 seconds]
Algernon69 has joined #racket
skapata has quit [Remote host closed the connection]
Algernon69 has quit [Ping timeout: 260 seconds]
tyson2 has quit [Remote host closed the connection]
monkey_ has quit [Ping timeout: 240 seconds]
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
Algernon91 has joined #racket
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
ASau has quit [Read error: Connection reset by peer]
ASau has joined #racket
morte_ has joined #racket
Avichi has quit [Quit: Client closed]
Avichi has joined #racket
notzmv has joined #racket
tyson2 has joined #racket
capfredf has joined #racket
gproto23 has quit [Read error: Connection reset by peer]
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
nexeq-pc has joined #racket
nexeq-pc has quit [Quit: leaving]
nexeq-pc has joined #racket
nexeq-pc has quit [Client Quit]
ASau has quit [Read error: Connection reset by peer]
ASau has joined #racket
Everything has joined #racket
nexeq has quit [Read error: Connection reset by peer]
nexeq has joined #racket
capfredf has joined #racket
nexeq has quit [Quit: Quit]
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
Algernon91 has quit [Ping timeout: 252 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
winny has quit [Remote host closed the connection]
winny has joined #racket
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #racket
evdubs_ is now known as evdubs
tyson2 has quit [Remote host closed the connection]
rgherdt has quit [Remote host closed the connection]
ur5us_ has joined #racket
rgherdt has joined #racket
<winny>
sometimes I'm using a for-form in a way that lends to filtering out iterations based on a criteria - using a `#:when when-expr` optional subform. But then it becomes apparent the work done to test if the iteration should happen in `when-expr` is the same work I like to use in the for-form's body. For example: (for/list ([i (in-lines)] #:when (expensive-transform i)) (expensive-transform i)) -
<winny>
any way to reuse the computation done in the `when-expr` in the body-expr?
tyson2 has joined #racket
libertyprime has joined #racket
newschemer has joined #racket
<newschemer>
I'm trying to use the random-sample function, per https://docs.racket-lang.org/reference/generic-numbers.html#%28def._%28%28lib._racket%2Frandom..rkt%29._random-sample%29%29, with racket 8.3 CS, but I get an unbound identifier error at the repl. What am I doing wrong?