dmiles has joined #racket
hjek has quit [Quit: Leaving.]
pierpal has joined #racket
ubLIX has quit [Quit: *cackles*]
Sgeo_ has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
Sgeo has quit [Ping timeout: 272 seconds]
ziyourenxiang has quit [Ping timeout: 246 seconds]
dddddd has quit [Remote host closed the connection]
acarrico has joined #racket
jao has quit [Remote host closed the connection]
jao has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<
bremner>
is there an idiomatic way to switch between raise-user-error and a warning with roughly the same info?
<
bremner>
obviously I can write a cond and an fprintf. but it seems a bit clumsy
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 245 seconds]
keep_learning_M has joined #racket
<
jcowan>
bremner: (funcall (if (must-die) #'error #'warn) arg ...) should do it
<
jcowan>
where the vaue of (must-die) determines whether you get an error or a warning
keep_learning_M has quit [Quit: This computer has gone to sleep]
<
lexi-lambda>
jcowan: I think your head is in the wrong language :)
keep_learning_M has joined #racket
pie__ has quit [Ping timeout: 244 seconds]
libertyprime has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 272 seconds]
<
jcowan>
yeah, sorry'
<
jcowan>
make that ((if must-die raise-user-error warn) arg ...)
<
jcowan>
and if there isn't a warn procedure, write one
libertyprime has joined #racket
FreeFull has quit []
<
bremner>
jcowan: indeed, one way to interpret my question is whether warn exists
<
bremner>
it's probably also true that I could push the branch inside the call, that would cut down on verbiage a bit
sauvin has joined #racket
quipa_ has quit [Remote host closed the connection]
_whitelogger has joined #racket
orivej has quit [Ping timeout: 245 seconds]
_whitelogger has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 250 seconds]
mzan has joined #racket
_whitelogger has joined #racket
notzmv has quit [Ping timeout: 246 seconds]
notzmv has joined #racket
orivej has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
keep_learning_M has joined #racket
dmiles has quit [Ping timeout: 240 seconds]
dmiles has joined #racket
libertyprime has quit [Ping timeout: 246 seconds]
iyzsong has joined #racket
quipa has joined #racket
quipa has quit [Max SendQ exceeded]
quipa has joined #racket
mzan has quit [Ping timeout: 245 seconds]
mzan has joined #racket
jao has joined #racket
rain2 has joined #racket
rain1 has quit [Ping timeout: 245 seconds]
bartbes has quit [Quit: Reboot]
dddddd has joined #racket
bartbes has joined #racket
orivej has quit [Ping timeout: 272 seconds]
YuGiOhJCJ has joined #racket
jao has quit [Ping timeout: 250 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
iyzsong has quit [Ping timeout: 250 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
winny has quit [Quit: WeeChat 2.1]
winny has joined #racket
winny has quit [Client Quit]
winny has joined #racket
orivej has joined #racket
endformationage has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
ZombieChicken has joined #racket
<
gleachkr>
I'm running into an issue with xrepl, and I wonder if anyone else has noticed this or if there's an obvious workaround:
<
gleachkr>
pasting multi-byte characters (like `λ` for example) into the xrepl produces the wrong result.
<
gleachkr>
In the case of `λ`, the result is `λ`.
<
gleachkr>
FWIW I'm using the editline library, rather than readline-gpl. The repl with xrepl disabled via `racket -iq` does not have this issue.
<
bremner>
hmm. yes I see that here in a utf8 locale
<
gleachkr>
And... Just confirmed that using GNU readline via PLT_READLINE_LIB, this issue does not seem to occur.
jao has joined #racket
hjek has joined #racket
pie__ has joined #racket
pie__ has quit [Remote host closed the connection]
pie__ has joined #racket
jao has quit [Ping timeout: 240 seconds]
jao has joined #racket
pie__ has quit [Ping timeout: 245 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Ping timeout: 272 seconds]
pierpal has joined #racket
pierpal has quit [Ping timeout: 245 seconds]
sauvin has quit [Read error: Connection reset by peer]
pierpal has joined #racket
quipa has quit [Remote host closed the connection]
quipa has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
quipa has quit [Max SendQ exceeded]
quipa has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
quipa has quit [Remote host closed the connection]
quipa has joined #racket
quipa has quit [Max SendQ exceeded]
quipa has joined #racket
quipa has quit [Max SendQ exceeded]
quipa has joined #racket
pie__ has joined #racket
quipa has quit [Max SendQ exceeded]
orivej has quit [Ping timeout: 272 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pie__ is now known as [redacted]
[redacted] is now known as pie__
pierpal has quit [Ping timeout: 245 seconds]
pie__ has quit [Ping timeout: 252 seconds]
pierpal has joined #racket
pie_ has joined #racket
buyfn has joined #racket
mzan has quit [Quit: Leaving.]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
FreeFull has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pie__ has joined #racket
pie_ has quit [Ping timeout: 252 seconds]
buyfn has quit [Quit: buyfn]
hjek has quit [Quit: Leaving.]
FSMnArmosta has joined #racket
FSMnArmosta has quit [Quit: WeeChat 1.9.1]
orivej has joined #racket
YuGiOhJCJ has joined #racket
ziyourenxiang has joined #racket