IRC channel logs


back to list of logs

<nalaginrut>morning guilers~
<lloda>guile-json : scm->json #pretty #t prints non-record fields in a single line, even very long arrays of arrays
<lloda>pretty printing should be applied to any nested structures that are longer than X imo
<lloda>not just records
<dsmith-work>Morning Greetings, Guilers
***sneek_ is now known as sneek
<chrislck>lloda: is very responsive to bug reports
<lloda>thx chrislck i will
<matijja>Hello Guilers!
<matijja>One odd question. Can Guile modules holds state?
<matijja>I want to write something like that: Is there any better approach?
<mwette> matijja: but you should use parameter (or fluids)
<mwette>(define *config-processors* (make-parameter '()))
<mwette>(set! *config-processors* ... ) => (*config-processors* ...)
<mwette>mutating top-level bindings (e.g., (set! *config-processors* ..)) is discouraged
<mwette>^ in modules, that is
<matijja>mwette: Thanks.
<matijja>How can I save into variable date, when program was compiled?
<ft>I think there's an example in the manual. But in the interest of reproducible builds, I'd refrain from it. :)
<ft>If you must, take a look at the eval-when section of the manual.