Fernando-Basso has quit [Remote host closed the connection]
remexre has quit [Ping timeout: 258 seconds]
remexre has joined #racket
GoldRin has quit [Ping timeout: 272 seconds]
GoldRin has joined #racket
GoldRin has quit [Ping timeout: 268 seconds]
lispmacs has joined #racket
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 268 seconds]
lispmacs has quit [Quit: rcirc on GNU Emacs 25.1.1]
_whitelogger has joined #racket
YuGiOhJCJ has joined #racket
sauvin has joined #racket
ketralnis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arcaelyx has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.5]
_whitelogger has joined #racket
orivej has quit [Ping timeout: 272 seconds]
GoldRin has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
GoldRin has quit [Ping timeout: 272 seconds]
libertyprime has joined #racket
asymptotically has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
soegaard has joined #racket
soegaard has quit [Quit: soegaard]
dimitarvp has joined #racket
dimitarvp has quit [Client Quit]
dimitarvp has joined #racket
dimitarvp has quit [Client Quit]
ArneBab has joined #racket
soegaard has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
ng0 has joined #racket
GoldRin has joined #racket
iyzsong has joined #racket
GoldRin has quit [Remote host closed the connection]
GoldRin has joined #racket
_whitelogger has joined #racket
gluon has joined #racket
<gluon>
is there a way i can have a multiple value bind let but with individual expressions returning individual values instead of a single expression returning multiple values like let-values requires?
<gluon>
essentially having multiple local variables all within the same scope
<gluon>
that are assigned by different functions
<soegaard>
You mean like (define-values (a b) (values 1 2)) ?
<gluon>
yes, but instead of a single expression returning (a b) i have different expressions returning single values
<gluon>
multiple functions calls, all returning single values
<soegaard>
(a b) is not an expression, it's the identifiers to be bound
<gluon>
true but (values 1 2) is a single expression right?
<soegaard>
1 and 2 are the multiple expressions each returning a single value
<gluon>
oh
<soegaard>
And yes (values 1 2) is a single expression.
<gluon>
so can i use (values ((function1) (function2)...)
<soegaard>
yes
<gluon>
ofc i can, yeah, thanks! :)
<gluon>
newb
<soegaard>
no problem
lockywolf__ has joined #racket
pfdietz has joined #racket
<gluon>
soegaard: actually what i needed was the regular let form, because let is variadic for [id expression], so i can simply have as many [id (function_call) ...] as i want
<soegaard>
Ah ok. Misunderstood what you were asking.
<gluon>
so that i can use nicer and shorter arguments to irc-send-message
<soegaard>
Looks great.
dddddd has joined #racket
<soegaard>
A little tip: When you want to append strings and numbers, then ~a is very convenient.
<soegaard>
(~a "The number " 3 " can be used without using number->string")
<soegaard>
It's from racket/format
Arcaelyx has joined #racket
<gluon>
soegaard: ah thanks, that'll save me some typing and make it look better
orivej has joined #racket
asymptotically_ has joined #racket
asymptotically is now known as Guest13377
asymptotically_ is now known as asymptotically
Guest13377 has quit [Remote host closed the connection]
acarrico has joined #racket
Lowl3v3l has joined #racket
libertyprime has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 252 seconds]
__Myst__ has quit [Ping timeout: 268 seconds]
endformationage has joined #racket
dustyweb has quit [Remote host closed the connection]
ziyourenxiang_ has quit [Ping timeout: 272 seconds]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 258 seconds]
Sgeo__ has joined #racket
q9929t has joined #racket
Sgeo_ has quit [Ping timeout: 268 seconds]
__Myst__ has joined #racket
lispmacs has joined #racket
<lispmacs>
hi, I want to redirect the stderr stream of a sub-process to the main process stderr. Is there some trick to doing this other than just copying that data manually?
<lispmacs>
soegaard: maybe misunderstanding, but wouldn't that instead shunt the stderr of the main process to the stderr of the subprocess?
eddof13 has joined #racket
eddof13 has quit [Client Quit]
<lispmacs>
soegaard: also, error port of subprocess shows up in main process as input port, which main process error port is output port
<lispmacs>
*while
<lispmacs>
I was thinking something along the lines of a special pipe command. I guess I could just spawn a thread to watch it, but maybe there is something better...
eddof13 has joined #racket
efm has quit [Ping timeout: 245 seconds]
q9929t1 has joined #racket
q9929t has quit [Quit: q9929t]
q9929t1 is now known as q9929t
ketralnis has joined #racket
<soegaard>
lispmacs: Oops. You are right my suggestion is backwards.
<soegaard>
lispmacs: How about using process/ports ? That allows you to passe the error port along to the sub process.
<lispmacs>
soegaard: I didn't notice that procedure before. Yes, that seems like it should work
vraid has quit [Quit: Leaving]
lispmacs has quit [Remote host closed the connection]
liberiga has joined #racket
aoeu256 has joined #racket
__Myst__ has quit [Ping timeout: 245 seconds]
__Myst__ has joined #racket
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
endformationage has quit [Ping timeout: 244 seconds]
eddof13 has quit [Quit: eddof13]
iclon_ has quit [Remote host closed the connection]
eddof13 has joined #racket
iclon has joined #racket
eddof13 has quit [Client Quit]
evhan has quit [Ping timeout: 245 seconds]
evhan has joined #racket
jao has quit [Ping timeout: 245 seconds]
eddof13 has joined #racket
efm has joined #racket
manualcrank has joined #racket
casaca has quit [Read error: Connection reset by peer]
casaca has joined #racket
q9929t has quit [Ping timeout: 272 seconds]
enderby has quit [Remote host closed the connection]
ubLIX has joined #racket
ketralnis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]