badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket
ur5us has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
monkey_ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
capfredf has joined #racket
kengruve_ has joined #racket
kengruven has quit [Ping timeout: 256 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
Codaraxis has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
monkey_ has quit [Ping timeout: 272 seconds]
Codaraxis has joined #racket
<williewillus> I'm reading the ref page on breaks, and it's not clear to me which thread will receive a break if I e.g. type Ctrl+C on the CLI. Is it just a random thread that has then enabled?
<williewillus> and I'm guessing all threads are eligible for breaks by default? So any background threads I spin off should all disable breaks as the first thing they do
ur5us has quit [Ping timeout: 260 seconds]
badkins has joined #racket
tarod16 has joined #racket
Codaraxis_ has joined #racket
badkins has quit [Ping timeout: 260 seconds]
Codaraxis has quit [Ping timeout: 246 seconds]
tarod16 has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 256 seconds]
ur5us has joined #racket
ur5us_ has joined #racket
ur5us has quit [Read error: Connection reset by peer]
skapata has quit [Read error: Connection reset by peer]
gproto23 has joined #racket
kengruve_ has quit [Read error: Connection reset by peer]
kengruven has joined #racket
kengruve_ has joined #racket
_________ has quit [Ping timeout: 256 seconds]
kengruven has quit [Ping timeout: 260 seconds]
mon_aaraj has quit [Ping timeout: 250 seconds]
mon_aaraj has joined #racket
schulze has joined #racket
s-liao has joined #racket
mon_aaraj has quit [Ping timeout: 250 seconds]
mon_aaraj has joined #racket
ur5us_ has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
badkins has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
badkins has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 250 seconds]
s-liao has joined #racket
capfredf has joined #racket
s-liao has quit [Ping timeout: 250 seconds]
capfredf has quit [Ping timeout: 260 seconds]
badkins has joined #racket
mon_aaraj has quit [Ping timeout: 272 seconds]
badkins has quit [Ping timeout: 246 seconds]
mon_aaraj has joined #racket
s-liao has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
Avichi has joined #racket
badkins has joined #racket
kengruve_ has quit [Remote host closed the connection]
kengruven has joined #racket
badkins has quit [Ping timeout: 260 seconds]
kengruven has quit [Ping timeout: 245 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
monkey_ has joined #racket
badkins has joined #racket
ec has quit [Quit: ec]
badkins has quit [Ping timeout: 240 seconds]
jao has joined #racket
capfredf has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
monkey_ has quit [Ping timeout: 260 seconds]
libertyprime has quit [Quit: leaving]
s-liao has quit [Quit: Client closed]
capfredf has quit [Read error: Connection reset by peer]
capfredf has joined #racket
badkins has joined #racket
morte_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
gproto23 has quit [Read error: Connection reset by peer]
_________ has joined #racket
msiism has joined #racket
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
ec has joined #racket
Codaraxis_ has quit [Ping timeout: 246 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
<msiism> I've asked about this yesterday, but had to leave then: I'm tryign to find a reasonable way to transform a bunch of lines from an input file into a hash table.
<msiism> Here's what I have so far: https://paste.debian.net/plainh/8ed723b5
<msiism> Variant II seems more useful to me because I need to keep the input data cached to work on it.
<msiism> I'm generally haveing a bit of trouble telling when racket stores a value vs. only storing the way to generate that value.
<msiism> It seems to me that, most of the time, if you say (define X (formula)), then evey time you say X, Racket will run that formula, i. e. procedure.
badkins has quit [Ping timeout: 240 seconds]
Codaraxis_ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
casaca has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
skapata has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
kengruven has joined #racket
kengruven has quit [Ping timeout: 250 seconds]
badkins has joined #racket
<jA_cOp> when you do `(define foo bar)`, `bar` is only evaluated once, when the define expression is evaluated. When you subsequently reference `foo`, the same value is accessed every time (unless later changed with set!).
<msiism> Oh, now that makes a few things a lot easier, doesn't it? :)
<jA_cOp> Note that function definition also uses the `define` form, so it looks similar, e.g. `(define (foo) bar)`. In this case, foo is a function, and its body is evaluated every time it is called. However, just like other definitions, you can reference `foo` without calling it, if you want to say, pass the function to another function (aka higher-order function, like `map`).
<jA_cOp> The guide has details and examples https://docs.racket-lang.org/guide/syntax-overview.html#%28part._.Definitions%29
<msiism> Okay, thanks.
ur5us_ has joined #racket
xgqt has quit [Ping timeout: 272 seconds]
xgqt has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
mon_aaraj has quit [Ping timeout: 246 seconds]
mon_aaraj has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
Codaraxis__ has joined #racket
Codaraxis_ has quit [Ping timeout: 272 seconds]
libertyprime has joined #racket
msiism has quit [Ping timeout: 250 seconds]
monkey_ has joined #racket
morte_ has quit [Remote host closed the connection]
ur5us_ has quit [Ping timeout: 260 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
jao has quit [Remote host closed the connection]
epony has joined #racket
jao has joined #racket
badkins has joined #racket
ec has quit [Quit: ec]