IRC channel logs

2023-09-25.log

back to list of logs

<daviid>G_MINFLOAT is defined as FLT_MIN, same for MAX ... is there an easy way to get access to FLT_MIN FLT_MAX from scheme, using the ffi ?
<daviid>nvm, added to libg-golf ...
<yarl>Hello guile.
<sneek>Welcome back yarl, you have 1 message!
<sneek>yarl, apteryx says: nope; we should report a bug for it
<yarl>ACTION does not remember his question...
<yarl>Related to geiser but can't find it in logs. I have another question anyway.
<yarl>When you use something like (match (primitive-fork) (0 'childret) (pid (waitpid pid) 'thisret)) what is the return value of the whole match?
<yarl>apparently it's 'childret but why?
<yarl>I don't think it's documented.
<yarl>Ok. My question was stupid. Just realized.
<RhodiumToad>that code will misbehave if the fork fails
<apteryx>yarl I think your message was about Geiser's find references mechanism not working
<civodul>i wish we had something like GCC’s ‘printf’ attribute
<civodul>not sure how this could be achieved
<Arsen>you could do what libstdc++ does for format and check, statically, that the format string matches the arguments
<dsmith>That reminds me. There is a thing with format that makes more sense in CL than in Scheme.
<dthompson>I get a little sad every time I use a template string. so very unlispy.
<dsmith>The way '() and #f are different in Scheme and the way format handles lists
<dsmith>I'm assuming the Guile format is *hugely* inspired by CL format.
<Wurt>Hi, I wrote a patch ([PATCH] Added pgettext and npgettext i18n procedures) a month ago and I would be glad if someone could give me a hint about the time a patch takes to be reviewed in the guile community.
<dsmith>Anywhere from days to years
<Wurt>Uhm... thanks, dsmith. Any advice? Maybe in my case is better to write a package.
<dsmith>Nope. No advice. The Guile devs are busy people with a lot on their plates.
<dthompson>Wurt: pinging here and the mailing list periodically is the best thing I know of.
<dthompson>at the very least someone could at least give you a sense of if those bindings would be acceptable in core guile, at least.
<dthompson>oops redundant "at least"
<Wurt>dthompson: Thank you, I did not know if pinging frequently were considered impolite. I will remmember this monthly. Those bindings seems logical to me, other languages use them in their core.
<dthompson>Wurt: pinging every so often is sometimes the only way to get stuff looked at since everyone is busy and things get forgotten.
<Arsen>ACTION should re-ping the four line patches I sent a few months ago
<sarthalion>Hi! scm_from_locale_string does not work correctly with a string that contains for example scandinavian characters ä and ö
<sarthalion>is that a bug or expected behaviour
<sarthalion>maybe I should use scm_from_utf8_string
<sarthalion>but I would think that scm_from_locale_string should default to whatever the locale is