ChanServ changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://racket.discourse.group/ -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with DrRacket. Remember to wait around for an answer!
jA_cOp has joined #racket
jA_cOp_ has quit [Ping timeout: 250 seconds]
svm is now known as msv
ftzm3 has joined #racket
ftzm has quit [Ping timeout: 248 seconds]
ftzm3 is now known as ftzm
shawnw_ is now known as shawnw
skapata has quit [Remote host closed the connection]
jojotastic777 has quit [Ping timeout: 245 seconds]
jojotastic777 has joined #racket
shawnw has quit [Ping timeout: 248 seconds]
shawnw has joined #racket
skapata has joined #racket
simon-az has quit [Ping timeout: 250 seconds]
kratacoa has joined #racket
skapata has quit [Remote host closed the connection]
Heavy_Mettle has joined #racket
Heavy_Mettle has quit [Remote host closed the connection]
msiism has joined #racket
<msiism> Another question about `with-handlers`: In the first examples of seciton 10.1 of the Racket Guide, the handler procedure's parameter is called `exn`. Later examples use just `v`. Is there anything special about the `exn` parameter in the earlier exmaples?
<msiism> I'm asking that because the syntax highlighting of the `exn` parameter in those earlier examples confuses me.
kratacoa has quit [Ping timeout: 256 seconds]
<bremner> exn implies that it will probably be passed an exception value
<msiism> So it is a mere name in that case?
<msiism> In other words: `exn` and `v` are conceptually no different then?
Origin has quit [Ping timeout: 256 seconds]
Origin has joined #racket
Tuplanolla has joined #racket
<msiism> Or, more precisely: Is `(with-handlers ([exn:fail:contract:divide-by-zero? (lambda (exn) +inf.0)]) (/ 1 0))` conceptually any different from `(with-handlers ([exn:fail:contract:divide-by-zero? (lambda (v) +inf.0)]) (/ 1 0))`?
<msiism> I tend to think it isn't.
<samth> msiism: the name you use for an argument to a function never matters
<msiism> Okay, thanks. That's what I suspected.
kratacoa has joined #racket
kratacoa has quit [Ping timeout: 258 seconds]
<msiism> Is there some sort of best practice for implementing Unix-style error messages for command-line tools in Racket?
<msiism> Last time I tried this, I ended up (ab-)using `raise-user-error`.
<msiism> This is what I did: https://www.msiism.org/pb/gbnBlT/r
rekahsoft has quit [Remote host closed the connection]
xgqtd is now known as xgqt
Everything has joined #racket