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!
Oxyd_ is now known as Oxyd
livoreno has joined #racket
livoreno has quit [Ping timeout: 248 seconds]
szkl has joined #racket
ur5us has quit [Ping timeout: 250 seconds]
badkins has quit [Remote host closed the connection]
ur5us has joined #racket
livoreno has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
codingquark has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 256 seconds]
codingquark has joined #racket
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #racket
Fare has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
ur5us has quit [Ping timeout: 255 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
ur5us has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
mon_aaraj has joined #racket
libertyprime has quit [Remote host closed the connection]
libertyprime has joined #racket
monaaraj has joined #racket
ttree has quit [Ping timeout: 276 seconds]
mon_aaraj has quit [Ping timeout: 246 seconds]
littlebo1eep has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
monaaraj has quit [Quit: WeeChat 3.5]
mon_aaraj has joined #racket
littlebo1eep has quit [Ping timeout: 240 seconds]
mon_aaraj has quit [Read error: Connection reset by peer]
mon_aaraj has joined #racket
mon_aaraj has quit [Read error: Connection reset by peer]
mon_aaraj has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 255 seconds]
littlebobeep has joined #racket
badkins has joined #racket
notzmv has quit [Ping timeout: 260 seconds]
livoreno has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 255 seconds]
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
mon_aaraj has quit [Read error: Connection reset by peer]
mon_aaraj has joined #racket
livoreno has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
livoreno has quit [Ping timeout: 250 seconds]
livoreno has joined #racket
gproto23 has joined #racket
parnikkapore has joined #racket
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #racket
parnikkapore has quit [Quit: Leaving]
chimp_ has joined #racket
Psybur has quit [Ping timeout: 255 seconds]
parnikkapore has joined #racket
ur5us has joined #racket
parnikkapore has quit [Quit: Leaving]
littlebobeep has joined #racket
gproto23 has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 248 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
littlebobeep has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
Fare has quit [Quit: Leaving]
livoreno has quit [Ping timeout: 248 seconds]
tonyg has quit [Quit: Ping timeout (120 seconds)]
tonyg has joined #racket
tonyg has quit [Ping timeout: 260 seconds]
tonyg has joined #racket
lowak has joined #racket
tonyg has quit [Ping timeout: 248 seconds]
libertyprime has quit [Ping timeout: 256 seconds]
badkins has joined #racket
libertyprime has joined #racket
badkins has quit [Ping timeout: 256 seconds]
tonyg has joined #racket
chimp_ has quit [Read error: No route to host]
morte_ has joined #racket
libertyprime has quit [Ping timeout: 246 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
livoreno has joined #racket
tonyg has quit [Ping timeout: 248 seconds]
badkins has joined #racket
gproto23 has joined #racket
littlebobeep has joined #racket
morte_ has quit [Ping timeout: 260 seconds]
lowak_ has joined #racket
lowak has quit [Ping timeout: 240 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
tonyg has joined #racket
twosuns has joined #racket
tonyg has quit [Ping timeout: 256 seconds]
tonyg has joined #racket
badkins has quit [Remote host closed the connection]
littlebobeep has quit [Ping timeout: 240 seconds]
ttree has joined #racket
twosuns has quit [Quit: ...]
morte_ has joined #racket
badkins has joined #racket
morte_ has quit [Ping timeout: 248 seconds]
lowak has joined #racket
lowak_ has quit [Ping timeout: 240 seconds]
badkins has quit [Ping timeout: 246 seconds]
littlebobeep has joined #racket
sarna has quit [Remote host closed the connection]
littlebo1eep has joined #racket
sarna has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
littlebo1eep has quit [Ping timeout: 240 seconds]
kenran has joined #racket
kenran has quit [Client Quit]
msiism has joined #racket
<msiism> Is there a way to get the type of an arbitrary value in Racket? Something like (type? val).
<samth> msiism: you might like https://docs.racket-lang.org/describe/index.html but in general there is no concept that corresponds to the "type" of something in Racket
<msiism> Hm… interesting. But isn't Racket itself able to report type errors when calling its built-in functions?
<msiism> Yeah, I think it is.
<samth> msiism: you can check whether a value is of a particular kind
<msiism> Oh, right.
<msiism> I see.
<samth> which is what functions like + do
<msiism> Yeah, that should also work for me, actually.
<msiism> Oh, I see, it hands out the literal value on `raise-argument-error`, not the type, which makes sense.
<msiism> But `describe` is also interesting. Thanks for the pointer.
Avichi has joined #racket
<msiism> Now, I'm a bit confused as to whether (member 'c '('b 'c 'd)) evalutaes to false.
<msiism> There must be something special about lists of symbols.
<samth> no, the problem is you have two many ' marks
<samth> you probably want `(member 'c '(b c d))`
<msiism> Oh…
<msiism> Okay, interesting. Need to read up on '() syntax. I mean, if I use (list), it works as I expected.
<samth> yes
<samth> I mostly recommend staying away from ' except for symbols until you're more comfortable with Racket
<msiism> Okay, probably a good idea. I've already learned to stay away from eq?, except for symbols.
kimjetwav has joined #racket
<winny> I have a guilty pleasure, I just use equal? Everywhere
<msiism> I use equal? everywhere, except for symbols.
<msiism> I'm writing a personal acocunting application with an S-expresisons-based data base, so some speedy equality comparison is nice to have.
<msiism> s/acocu/accou/
littlebobeep has quit [Ping timeout: 240 seconds]
<winny> sounds like a fun project =) sounds like a nice use-case of eq? . there are a few cases where symbols won't eq? each other, but if you're reading them in (and are not generating them programmatically from strings or other data) you should be good 2 go. i think
littlebobeep has joined #racket
<msiism> Hm… Now I'm at a bit fo a loss here. My program just went from being able to list transactions without a problem to falling into an endless loop when trying to do that and back to being able to list without a problem.
<msiism> I did not change the code inbetween.
<winny> ooof, do you have a logger in your program? Could add some debug logs
<msiism> I don't, unfortunately. I also don't know about logging in Racket yet.
<msiism> I can at least reprodude the behavior. Seems to have something to do with regex matching.
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
<winny> if anything else can use displayln/printf as a crud logger... unfortunately all the howto's on using racket logging may have a bit of upfront learning (like how to write a log receiver or how to intercept logs or whatever)
aidalgol_ has joined #racket
aidalgol has quit [Ping timeout: 246 seconds]
<winny> ohh here's a nice small compact PoC https://gist.github.com/Metaxal/6511048
<msiism> Yeah, I've done some `display` debugging to narrow things down a little. But it's still a bit mysterious to me.
littlebobeep has quit [Remote host closed the connection]
littlebobeep has joined #racket
<msiism> There's some subtle error on one of the output functions, it seems. I'll have to investigate that more deeply.
<msiism> But, yeah, it's a nice project. It's mainly for learning Racket, especially for how to use S-expressions as a data base and making POSIX-compatible command-line interfaces.
mon_aaraj has joined #racket
gproto23 has quit [Remote host closed the connection]
FreeFull has joined #racket
mon_aaraj has quit [Remote host closed the connection]
mon_aaraj has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
Avichi has quit [Quit: Client closed]
Avichi has joined #racket
libertyprime has joined #racket
ur5us has joined #racket
msiismistic has joined #racket
msiism has quit [Killed (lead.libera.chat (Nickname regained by services))]
msiismistic is now known as msiism
jakzale_ has joined #racket
matta_ has joined #racket
djelic_ has joined #racket
oter_ has joined #racket
sm2n_ has joined #racket
raghavgururajan_ has joined #racket
casaca_ has joined #racket
ecraven- has joined #racket
sunarch_ has joined #racket
cookie has joined #racket
jfred-linode_ has joined #racket
em-bee has joined #racket
matta has quit [Ping timeout: 250 seconds]
jakzale has quit [Ping timeout: 250 seconds]
ecraven has quit [Ping timeout: 250 seconds]
sm2n has quit [Ping timeout: 250 seconds]
Boarders_ has quit [Ping timeout: 250 seconds]
sunarch has quit [Ping timeout: 250 seconds]
conjunctive has quit [Ping timeout: 250 seconds]
casaca has quit [Ping timeout: 250 seconds]
eMBee has quit [Ping timeout: 250 seconds]
nullsh has quit [Ping timeout: 250 seconds]
bremner has quit [Ping timeout: 250 seconds]
djelic has quit [Ping timeout: 250 seconds]
raghavgururajan has quit [Ping timeout: 250 seconds]
oter has quit [Ping timeout: 250 seconds]
ratzkewatzke has quit [Ping timeout: 250 seconds]
jfred-linode has quit [Ping timeout: 250 seconds]
ckie has quit [Ping timeout: 250 seconds]
cwebber has quit [Ping timeout: 250 seconds]
ttree has quit [Ping timeout: 250 seconds]
jakzale_ is now known as jakzale
oter_ is now known as oter
djelic_ is now known as djelic
casaca_ is now known as casaca
raghavgururajan_ is now known as raghavgururajan
matta_ is now known as matta
sm2n_ is now known as sm2n
sunarch_ is now known as sunarch
littlebobeep has quit [Remote host closed the connection]
bremner has joined #racket
ratzkewatzke has joined #racket
littlebobeep has joined #racket
Avichi has quit [Ping timeout: 252 seconds]
nullsh has joined #racket
msiism has left #racket [Konversation vaporized.]
FreeFull has quit []
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
libertyprime has quit [Ping timeout: 256 seconds]
littlebobeep has quit [Ping timeout: 240 seconds]
aidalgol_ is now known as aidalgol
badkins has joined #racket
libertyprime has joined #racket