IRC channel logs
2025-01-28.log
back to list of logs
<dsmith>graywolf, Yes I agree separating #f and '() is a good idea. But you need something like this to get the intended result: <dsmith>scheme@(guile-user)> (format #f "~@[[~a]~]" (let ((l '())) (if (null? l) #f l))) <graywolf>dsmith: I endend up with something similar to (format #f "~:[[~a]~;~*~]" (null? l) l), which, assuming l already exists, seems readable enough? <graywolf>But yeah, I did not figure out anything nice with ~@[ <graywolf>Is there a common, agreed upon format for the file header? It seems to be `;;; Commentary:' and `;;; Code:' and I am not sure how to format lines in between. I checked Guile's source and it is... mixed. <lloda>it's rather silly that (log 0) throws when the result is always inexact <lloda>but chez & racket do the same <dsmith>sneek, later tell graywolf Yeah, that does look better (using ~:[ ) <sneek>This system has been up 1 week, 2 days, 23 hours, 5 minutes <lshoravi>Hi all. (ice-9 match) doesn't say anything about matching keywords, but I seem to be able to match against literal keywords just fine.