[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more stuff.





On Monday, September 29, 2003, at 04:23 PM, Faried Nawaz wrote:

> ...
> I saw mention of docstrings in the wiki wishlist.  Can this be done
> cheaply with properties?  I noticed that
>
> (dp doc (<any> => <str>))
>
> causes a core dump, ...

in some elegant implementation world, this might be cheap and even work,
but in my implementation world,
this is tricky to make work and certainly is not a cheap way to do it.
doc strings should probably be only added to functions and classes.
it's not even clear that they should be implemented as properties.

jonathan

> Program received signal SIGSEGV, Segmentation fault.
> 0x80726b3 in YPdispatchI (regs=0x837afc0) at goo/fun.c:3399