IRC channel logs

2023-08-23.log

back to list of logs

<haugh>mirai, I poked around the xml lib a bit and it's all `display`s in there. I don't think there's any shame in making three separate calls to the port. (with-output-to-port xml-o (lambda () (sxml->xml `(*PI* xml <...>)) (display doctype)
<haugh>Sorry, pasted the draft.
<haugh>It's `display` all the way down in there. (with-output-to-port xml-out (lambda () (sxml->xml `(*PI* xml ,pi-content-string)) (display doctype) (sxml->xml rest-of-tree)))
<haugh>annoyingly the *PI* node doesn't accept attribute lists so that does need to be a string
<cow_2001>Is there a way to enforce GOOPS slot's type other than, maybe add a predicate when it is initialised and later set?
<cow_2001>Inside custom init and set functions, that is.
<cow_2001>(unless (some-type? new-value) (error "Blah."))
<cow_2001>I am thinking like how one defines the type of the class's superclass
<Aurora_v_kosmose>How reliable is gnutls?
<qkote>hi I'm trying to write a version of define that works with strings for example (define "a" 10) a -> 10
<qkote>so far I wrote this but I don't know what is my problem, I'm pretty new to syntax-case macros.
<qkote>I get "encountered raw symbol in macro output in subform hello of (test "hello" 10)" http://ix.io/4EiD
<qookie>qkote: pass the new symbol through datum->syntax?
<tohoyn>A new version of Theme-D has been released. It contains important bug fixes and improved matrix support. See https://www.iki.fi/tohoyn/theme-d/.
<tohoyn>sneek: botsnack
<sneek>:)
<Wurt>Hi, I am trying to create a patch to implement pgettext function for Guile. But the libintl.h header do not implement that function. I am using Guix to build Guile. What can I do to get the wanted function? Maybe I am asking on the wrong chat, so... where could I ask?