IRC channel logs

2022-06-13.log

back to list of logs

***daviwil_ is now known as daviwil
***taw10_ is now known as taw10
<lloda>daviid: no, sorry. I haven't looked into that for a while now :-/
<lechner>Hi, should the two-argument form of (record-constructor name fields) be replaced by a composite call like (record-constructor (make-record-type name fields) ?
<lilyp>lechner: record-constructor and all other record-* take an rtd created by make-record-type, so you ought to save that in a variable, box or other thing
<lechner>lilyp: okay, thanks!
<lechner>Hi, is there a way with 'guile compile' to make sure local modules are used before any that are installed in the system path?
***Noisytoot_ is now known as Noisytoot
<lilyp>guild should respect both GUILE_LOAD_PATH and -L
<lechner>lilyp: thanks!
***dostoevsky2 is now known as dostoevsky
<lechner>Hi, is there an equivalent to -L for compiled files?
<lechner>and which one is used when this warning is issued, please? ;;; note: source file /lcl/lechner/guile-wm/guile-xcb/language/xml-xcb/support.scm
<lechner>;;; newer than compiled /home/lechner/.guix-profile/lib/guile/3.0/site-ccache/language/xml-xcb/support.go
<acdw>hi all, do you know how to (read-char) without waiting for RETURN on a terminal? I basically want to wait til the user types any key, then continue execution.
<jpoiret>acdw: you might need to set port buffering on the current input port, see https://www.gnu.org/software/guile/manual/html_node/Buffering.html
<acdw>hm not working in the repl
<acdw>okay this is so weird, i have this function (https://ttm.sh/whx.txt) and every time I run it in a repl, I have to hit RET before it'll continue
<lechner>nvm, my question about the command-line switch makes no sense
<lechner>acdw: maybe the repl buffers a la readline?
<acdw>maybe. it does it when running with ./ too
<acdw>like, just running the script