Sgeo has quit [Read error: Connection reset by peer]
narimiran has joined #racket
Blkt has quit [Read error: Connection reset by peer]
Blkt has joined #racket
dhil has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
andreyorst has quit [Ping timeout: 240 seconds]
psj has joined #racket
psj has quit [Client Quit]
psj has joined #racket
phillbush has joined #racket
epony has joined #racket
TCZ has joined #racket
epony has quit [Ping timeout: 240 seconds]
YuGiOhJCJ has joined #racket
andreyorst has joined #racket
epony has joined #racket
dustyweb has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
psj has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
Helios has quit [Quit: Idle for 30+ days]
TCZ has quit [Remote host closed the connection]
andreyorst has quit [Ping timeout: 260 seconds]
_marcuse has joined #racket
<_marcuse>
Another learner question: I'm getting a runtime error "expected: procedure? given: '(λ (v) (<= 1920 (string->number v) 2020))" from the following code:
<_marcuse>
The question I have is this: when making the hash map, why is the value being converted to a quoted form? And how do I convert that back to a procedure?
<_marcuse>
i.e. why does this return false: (procedure? (hash-ref rules "byr"))?
TCZ has joined #racket
dustypacer has joined #racket
<_marcuse>
Further investigation has shown that creating the hash using (hash "byr" (λ (v) (validate-numeric-range 1920 2002 v))) rather than using the #hash form works as expected.
_marcuse has left #racket [#racket]
caente has joined #racket
orivej has joined #racket
true-grue has joined #racket
andreyorst has joined #racket
TCZ has quit [Quit: Diabe? tkwi w szczegó?ach]
MetaHertz has joined #racket
TCZ has joined #racket
TCZ has quit [Read error: Connection reset by peer]
andreyorst has quit [Ping timeout: 272 seconds]
Sgeo has joined #racket
narimiran has quit [Quit: leaving]
jA_cOp has quit [Ping timeout: 246 seconds]
yurb has quit [Ping timeout: 268 seconds]
BitPuffin has quit [Ping timeout: 268 seconds]
Helios has quit [Ping timeout: 246 seconds]
peddie has quit [Ping timeout: 272 seconds]
TCZ has joined #racket
TCZ is now known as toxic_worm
Helios has joined #racket
peddie has joined #racket
jA_cOp has joined #racket
yurb has joined #racket
BitPuffin has joined #racket
aaaaaa has joined #racket
joshu has joined #racket
toxic_worm has quit [Remote host closed the connection]
true-grue has quit [Read error: Connection reset by peer]
joshu has quit [Ping timeout: 272 seconds]
TCZ has joined #racket
dustypacer has quit [Remote host closed the connection]