scope of function definition
Ralf Juengling <[email protected]>
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I noticed that de, df, dm etc. do the binding of function to symbol in lexical scope. ? (let ((f ())) (de f () 1)) = f ? f = () ? Unlike defvar, the descriptions for de etc. are not explicit about the scope of the binding. I think they should be explicit. Although I'm still a lisp newbie my impression is that it would be more in line with other lisps if de/df/dm were doing the binding globally (like, e.g., defun in CL). So if it doesn't break too much, you might want to consider changing the current behavior. Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click