[pro] [Q] naming convention

Josh Marchán sykopomp at sykosomatic.org
Wed Apr 4 19:24:04 UTC 2012


On Wed, Apr 04, 2012 at 08:56:16PM +0200, Didier Verna wrote:
>
>  Hello,
>
>I have a FROB functionality that I would like to make available both at
>run-time via a function and at compile-time via a macro (which in turn
>will call the function).
>
>Are there any general conventions (apart from DEFINE- / MAKE-) for this
>kind of thing ? I'm having a hard time finding nice names for FROB the
>function and FROB the macro...
>
>Thanks.
>

In CLOS/MOP, there's ensure-generic-function/defgeneric and
ensure-class/defclass, for example. If the definitions are global,
that's my preferred convention, too.
-- 
Josh Marchán
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20120404/9492214f/attachment.sig>


More information about the pro mailing list