IRC channel logs

2025-09-20.log

back to list of logs

<euouae>Hello
<veqq>Hello
<euouae>how are you veqq?
<euouae>I'm wondering how to publish online a library manual written in texinfo in a way that it doesn't look too ugly
<euouae>the automake `make html` doesn't give me the spiffiest manual, I wonder if I have to use CSS
<euouae>eager comprehensions is one of the harder SRFIs to wrap my head around
<euouae>I have no idea how to use fold-ec
<euouae>(SRFI-42)
<euouae>eager comprehensions are nice though
<euouae>At first I liked streams because I could write deep loops fast
<euouae>but eager comprehensions are even better
<cow_2001>okay, rereading optimising guile by dthompson
<cow_2001>but what do you do if you have something like (vec3-minus (f64vector 0 2 1) (f64vector 1 9 2))? you create a new f64vector each time, no? that leads to cons churn, no?
<cow_2001>something like cons churn
<cow_2001>gc churn ~;~
<euouae>cow_2001: you have to use a variant of vec3-minus that modifies one of its arguments
<euouae>if you want to avoid allocating a new f64vector for the result
<ArneBab>sneek later tell euouae: The interactive info format from org-info is decent: https://orgmode.org/worg/code/org-info-js/
<sneek>Will do.
<ArneBab>sneek later tell euouae: But I don’t know how to get regular texinfo into that format.
<sneek>Okay.
<ArneBab>sneek later tell euouae: otherwise it’s CSS. See https://www.draketo.de/software/programming-scheme#texinfo - specifically: --css-include=FILENAME or --css-ref=URL; i.e. --css-ref=https://www.gnu.org/software/gnulib/manual.css
<sneek>Will do.
<ArneBab>sneek seen aconchillo
<sneek>Not as far as I can remember.
<ArneBab>wingo: tiny PR for fibers to avoid a "replaces sleep" warning when only doing (use-module (fibers)): https://codeberg.org/fibers/fibers/pulls/142/files
<rlb>euouae: don't know that I've tried it for texinfo, and it's a "big" tool, but if you have pandoc, I've had decent results from that for some other formats.