tonyg changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://gather.town/app/wH1EDG3McffLjrs0/racket-users -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer!
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
codingquark has quit [Ping timeout: 260 seconds]
codingquark has joined #racket
codingquark has quit [Read error: Connection reset by peer]
codingquark has joined #racket
libertyprime has quit [Ping timeout: 255 seconds]
libertyprime has joined #racket
codingquark has quit [Ping timeout: 268 seconds]
codingquark has joined #racket
ur5us has quit [Ping timeout: 260 seconds]
libertyprime has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
libertyprime has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
codingquark has quit [Read error: Connection reset by peer]
codingquark has joined #racket
skapata has quit [Remote host closed the connection]
sxn has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
sxn has quit [Quit: sxn]
sxn has joined #racket
ur5us has quit [Ping timeout: 255 seconds]
msiism has joined #racket
<msiism> Is there any actual benefit in defining a `main` function and then running `(main args)` in a Racket program? I tend to think there isn't.
d3mon has joined #racket
<d3mon> howdy, how do I strip a trailing newline from a string
<msiism> You could use `substring`. Maybe there are better ways.
<d3mon> ah yes
<d3mon> thanks
<d3mon> I'll stick around in case there is a better way
<msiism> Oh, and there's `string-trim`, too.
<msiism> That's probably more appropriate.
<d3mon> ah great thanks
<d3mon> On an entirely different topic, what's the difference between equal? and eqiv?
sxn has quit [Ping timeout: 260 seconds]
<msiism> I'm not exactly sure, but this should give you an idea: https://beautifulracket.com/explainer/equality.html
aidalgol has quit [Ping timeout: 248 seconds]
aidalgol has joined #racket
msiism has quit [Ping timeout: 264 seconds]
sxn has joined #racket
<d3mon> thanks for that msiism
msiism has joined #racket
libertyprime has quit [Ping timeout: 268 seconds]
badkins has joined #racket
monkey_ has joined #racket
sxn has quit [Quit: sxn]
badkins has quit [Ping timeout: 260 seconds]
monkey_ has quit [Ping timeout: 260 seconds]
<msiism> Is there a way to obtain a function's name from within that function?
<msiism> Like, sort of in the same sense as you'd be able to obtain the invocation name of a program from within the program.
badkins has joined #racket
d3mon has quit [Quit: nyaa~]
sxn has joined #racket
sxn has quit [Client Quit]
<ski> msiism : you might want to test out calling `main' interactively (e.g. with debugging), possibly trying different "command-line arguments", in an interactive session ?
<ski> (generally, functions need not have names (`lambda') .. that said, there might be some way to statically access such a name, in case there is any (iirc there's also maybe some things like `named-lambda' ?) .. i don't know)
<msiism> By callign interactively, you mean like in an interactive Racket session, right?
<msiism> s/callign/calling/
sxn has joined #racket
<msiism> The reason I asked about accessing a function's name is… not all too well-thought-out, actually… :)
sxn has quit [Quit: sxn]
monkey_ has joined #racket
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
monkey_ has quit [Read error: Connection reset by peer]
monkey_ has joined #racket
<ski> yes
badkins has quit [Remote host closed the connection]
monkey_ has quit [Ping timeout: 260 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
skapata has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
msiism has quit [Ping timeout: 264 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
monkey_ has joined #racket
msiism has joined #racket
msiismistic has joined #racket
msiism has quit [Read error: Connection reset by peer]
msiismistic is now known as msiism
monkey_ has quit [Ping timeout: 260 seconds]
libertyprime has joined #racket
msiism has left #racket [Konversation vaporized.]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket