Re: English Idiom in Unix: Directory Recursively

2011-05-19 Thread Thomas A. Russ
Pascal J. Bourguignon p...@informatimago.com writes: t...@sevak.isi.edu (Thomas A. Russ) writes: This will only work if there is a backpointer to the parent. No, you don't need backpointers; some cases have been mentionned in the other answer, but in general: (defun parent (tree

Re: English Idiom in Unix: Directory Recursively

2011-05-19 Thread Thomas A. Russ
that are inherently recursive and for which there is no natural iterative algorithm. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Thomas A. Russ
stack in the iterative code. To my mind that isn't really an iterative algorithm anymore if it ends up simulating the call stack. Tree walks are the canonical example of what can't be done in an iterative fashion without the addition of an explicitly managed stack -- Thomas A. Russ, USC

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Thomas A. Russ
Hans Georg Schaathun h...@schaathun.net writes: [Followup-To: header set to comp.lang.python.] On 17 May 2011 23:42:20 -0700, Thomas A. Russ t...@sevak.isi.edu wrote: : Tree walks are the canonical example of what can't be done in an : iterative fashion without the addition

Re: Strong typing vs. strong testing

2010-10-12 Thread Thomas A. Russ
to treat percent (%) as a dimensionless unit with a conversion factor of 1/100. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: Strong typing vs. strong testing

2010-10-12 Thread Thomas A. Russ
BartC b...@freeuk.com writes: Thomas A. Russ t...@sevak.isi.edu wrote in message news:ymi1v7vgyp8@blackcat.isi.edu... torb...@diku.dk (Torben ZÆgidius Mogensen) writes: Trigonometric functions do take arguments of particular units: radians or (less often) degrees, with conversion

Re: Strong typing vs. strong testing

2010-09-29 Thread Thomas A. Russ
units (m/s, s, m). -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: Strong typing vs. strong testing

2010-09-29 Thread Thomas A. Russ
RG rnospa...@flownet.com writes: More power to you. What are you doing here on cll then? This thread is massively cross-posted. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: Strong typing vs. strong testing

2010-09-28 Thread Thomas A. Russ
and my extension to it as part of the Loom system: http://www.isi.edu/isd/LOOM/documentation/loom4.0-release-notes.html#Units -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp-likeness

2005-03-15 Thread Thomas A. Russ
interleave calls to the individual functions. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list