IRC channel logs
2023-08-31.log
back to list of logs
<RhodiumToad>my guess is that ,apropos works by scanning the current module and its interfaces <RhodiumToad>yeah, it iterates over the list of modules from module-uses (prepending the current module), finds matching names, and then tests whether the visible binding in the current module is the same variable <haugh>where are you looking? I'm just grepping my way around <lloda>would be cool to have bigfloat support <apteryx>would someone know how to fix: "./src/utils.h:129:40: error: call of overloaded ‘to_guile(long int&)’ is ambiguous" ? <lloda>add an overload for long int? <lloda>i remember having to do something like that on apple <lloda>normally one of the intxx_t should have you covered, but for some reason longs didn't match <lloda>i had to put that in #ifdef ofc bc if they do match, then you can't repeat it <lloda>guile has dedicated scm_to_long / scm_to_ulong that you can use <apteryx>ACTION now realizes this question is purely C++ <apteryx>I thought to_guile must be provided by libguile, but it's homegrown to that project (jami) <mirai>would srfi-64 based tests be welcome within guiles testsuite? (and within the same vein, converting the existing tests into srfi-64 ones?) <old>apteryx: right I did some C++ template stuff for wrapping Jami API to Guile <old>Because C++ does not have an ABI like C <old>did you fix your issue? <old>I think the problem is that I did some template for `intxx_t` and `uintxx_t` which some are aliases to `long int` <old>depending on the architecture <apteryx>I haven't found what to change yet to fix it, no <old>hmm I think the problem is that I've never added to_guile with reference as input <old>pack_to_guile(Args ...args) creates a vector of SCM values. That ought to work with for example: x = 1; pack_to_guile(x); but not work with: pack_to_guile(&x); <old>static inline SCM to_guile(long int *x) { return to_guile(*x); } <old>not sure how to handle the reference case tho <old>if it works, you can make it a template: template<typename T> static inline SCM to_guile(T *x) { return to_guile(*x); } <mirai>rlb: nice seeing work done on this direction <count3rmeasure>does anyone know of any guile code thats invovled in web accessibility? either generating html or auditing pages/code?