teardown has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 245 seconds]
teardown has joined #racket
libertyprime has joined #racket
GoldRin has joined #racket
dddddd has quit [Remote host closed the connection]
ZombieChicken has quit [Ping timeout: 248 seconds]
ZombieChicken has joined #racket
cantstanya has quit [Remote host closed the connection]
FreeFull has quit []
cantstanya has joined #racket
endobson_ has joined #racket
endobson has quit [Ping timeout: 245 seconds]
liberiga has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
crsc has quit [Ping timeout: 246 seconds]
GoldRin has quit [Ping timeout: 248 seconds]
crsc has joined #racket
sauvin has joined #racket
zipper has joined #racket
zipper has quit [Client Quit]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 244 seconds]
enderby has joined #racket
liberiga has quit [Ping timeout: 260 seconds]
GoldRin has joined #racket
sagax has quit [Remote host closed the connection]
zipper has joined #racket
ephemera_ has joined #racket
endformationage has quit [Quit: WeeChat 2.5]
orivej has joined #racket
orivej has quit [Ping timeout: 246 seconds]
ng0 has joined #racket
orivej has joined #racket
sagax has joined #racket
zipper has quit [Ping timeout: 246 seconds]
endobson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zipper has joined #racket
zipper has quit [Ping timeout: 268 seconds]
dmiles has quit [Read error: Connection reset by peer]
zipper has joined #racket
zipper has quit [Read error: Connection reset by peer]
libertyprime has quit [Ping timeout: 244 seconds]
zipper has joined #racket
dmiles has joined #racket
orivej has quit [Ping timeout: 246 seconds]
GoldRin has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
zipper has quit [Ping timeout: 244 seconds]
dddddd has joined #racket
iyzsong has joined #racket
jao- has joined #racket
jao- is now known as jao
zipper has joined #racket
FreeFull has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 268 seconds]
soegaard has joined #racket
dimitarvp has joined #racket
dimitarvp has quit [Quit: Bye]
vraid has joined #racket
jao has quit [Ping timeout: 245 seconds]
orivej has joined #racket
soegaard has quit [Quit: soegaard]
asymptotically has joined #racket
dddddd has quit [Remote host closed the connection]
<J_Arcane>
So I seem to have misunderstood how `apply` works
zipper has quit [Quit: WeeChat 2.5]
<J_Arcane>
I have a situation where I have some function and its arguments stored in a quoted list. And I want to apply `partial`/`curry` to that list and thus get a curried function.
orivej has quit [Ping timeout: 244 seconds]
<J_Arcane>
ie. `((apply partial '(string?)) "dave")` will not return #t, but `application: not a procedure ... given: 'string?`
<J_Arcane>
because it doesn't unquote the list.
<nisstyre>
J_Arcane: string? is a symbol
<J_Arcane>
yeah. I guess I can only resolve the symbol by doing `eval` then?
<nisstyre>
I don't see why eval is necessary
<nisstyre>
((apply curry `(,string?)) "dave")
<nisstyre>
that seems to do what you want no?
<nisstyre>
i.e. use quasiquote instead of quote
pfdietz has joined #racket
<J_Arcane>
well, but I can't do that here because `'(string?)` is a stored value generated elsewhere in the program
<nisstyre>
I don't see the issue
<nisstyre>
do you have more code?
<J_Arcane>
yes.
<J_Arcane>
Gimme a moment, I can commit the changes
<nisstyre>
J_Arcane: you can also do (namespace-variable-value sym) to look up the value