IRC channel logs
2024-04-13.log
back to list of logs
<tomnor>Is it possible to customize what is shown in the repl for a certain function or object? <tomnor>If I have a function f and say f <mwette>if you provide a docstring for a function `,d f' will show the docstring <mwette>(define (f x) "this is f" (1+ x)) <graywolf>Hello ^_^ So time has come for me to write a website of my own, and I decided to use Haunt. However I am bit torn what reader to use. I originally wanted to go with texinfo, but then I looked at Skribe and it looks interesting. Does anyone have opinion on this? How well does Skribe works for a blog site? Is there some opinion piece available I could read? <graywolf>mwette: It is shame that there is no simple way to set docstring for a variables. (define foo "this is foo" 'foo) would be nice <mwette>graywolf: You could do something with properties and modify the `d' meta-command, I think. <graywolf>(set-object-property! foo 'documentation "Contains a @code{'bar}.") <graywolf>This works with ,d out of the box, but having it in define would be much less verbose :/ <tomnor>mwette: I know about the ,d thing, its nice. <tomnor>I am thinging about customizeing the #<procedure some-proc (operation)> <mwette>code seems to be in system/repl/describe.scm <civodul>those “module observers”, seriously… <civodul>has it ever found a use case since 1996? <graywolf>Hello ^_^ So time has come for me to write a website of my own, and I decided to use Haunt. However I am bit torn what reader to use. I originally wanted to go with texinfo, but then I looked at Skribe and it looks interesting. Does anyone have opinion on this? How well does Skribe works for a blog site? Is there some opinion piece available I could read? <civodul>graywolf: you can have several of them! <civodul>that is, write some articles in Markdown, others as Skribe, etc. <civodul>the Guix web site and hpc.guix.info do that <Kolev>civodul: I notice that SXML articles don't get previewed. The whole article is put in the blog page. <benjaminl>I don't see anything in the guile standard library docs for sending ioctl requests, is my best bet to just use FFI to call libc's ioctl()? <janneke>civodul: not removing an unnecessary feature for decades could also be qulified as under-engineering ;)