[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Constructed docstrings for closures
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Constructed docstrings for closures |
Date: |
Fri, 16 Jan 2015 17:51:05 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> I'd like to lift this restriction by offering a new feature that lets us
> do something like:
>
> (lambda (foo bar)
> <something-magical-here>
> (code using foo and bar (and blabla as well)))
>
> and get the closure we want with the docstring we want.
>
> Does anyone have an idea of what the <something-magical-here>
> could/should be?
(declare (comment (format "This is a comment about %s" bla)))
would be a natural syntax, I think?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no