Re: type of list element
jon klein <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
On Nov 6, 2003, at 10:45 PM, Rick Giuly wrote: > The list is for storing a BNF grammar, sortof. It's a list of list of > lists > and objects, and I want it to print nice. Determing types makes > writing a > general recursive print function possible. If I could define how > objects > 'print', that would work too. The (undocumented) method "get-description", if it exists in an object, will be included when the object is printed. The class name and the pointer are also included as usual. > While we're on the subject of printing, is there a command like > 'print' that > prints without a newline at the end? "printf" does exactly that. - jon klein _______________________________________________ breve mailing list [email protected] http://www.spiderland.org/mailman/listinfo/breve