IRC channel logs

2024-04-24.log

back to list of logs

<sneek>chrislck: Greetings :)
<sneek>Yey! dsmith is back
<dsmith>sneek, botsnack
<sneek>:)
<ArneBab_>cwebber: nice!
<tonyg>benjaminl: Oh sorry, I didn't mean they were always substitutable. For real errors and access to the debugger and edit-and-continue etc, there's no real substitute! I meant that resumable exceptions are sometimes used in Smalltalk as a substitute (or implementation substrate) for *parameters*.
<cow_2001>is there any way of adding a docstring to a macro?
<wingo>yes
<wingo>if it is a procedural macro, as a docstring of the transformer lambda
<wingo>if syntax-rules, docstring after the keywords iirc
<wingo>harder to get the docstring tho, you need to use the first-class module system to get the binding, recognize it's a macro, and extract the transformer
<wingo>ah actually object-documentation does the right thing, once you have the macro value
<wingo>from (ice-9 documentation)