Re: Re: hierarchical packaging (was: Java API)
Yann LeCun <[email protected]> Mon, 13 Feb 2006 17:08:14 -0500
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Organization | Courant Institute, NYU |
| Message-ID | <[email protected]> |
Hey Ralf, you can already do: (package mystuff (private print) (dm print (dummy . arg) '()) (de the (rest) (of your)) (de code (goes) (here) (print some debugging info)) ) What else do you need? -- Yann > > To be able to load specific functions from file could be good in Lush, > > but I cannot see an overwhelming need to implement it. The use of an > > import statement is > > I hoped my '(defmacro print arg '()) was a somewhat sensible example > for why you want to do that. Using Python I have grown accustomed to > defining all sorts of helper functions with short names that I don't > want to use outside the scope of a module. In Lush I must be much > more careful because I cannot avoid importing helper functions and > occasionally run into weird errors because of name clashes. > > Ralf ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642