[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: lookup-table thoughts (was Re: matching multip

Subject: Re: Re: lookup-table thoughts (was Re: matching multiple times, outputting once?
From: Tom Myers <tommy@xxxxxxxxxxxxxx>
Date: Wed, 07 Nov 2001 13:55:59 -0500
to iterate is illiterate
On 7 Nov 2001 10:43:40 GMT, David Carlisle <davidc@xxxxxxxxx> said

>Jeni> I find it easier to design a tail-recursive template if I imagine the
>Jeni> equivalent loop for what I want to do, which in this case would be:
>
>Jeni, this shows a serious lack of indoctrination.
>Write out 1000 lines:
>
>I should understand loops as being syntax for a simple form of recursion.
>
>(extra bonus points awarded for using a tail recursive procedure to
>produce the text...)

hmph. Write out aleph-null times: 

  I should understand recursion as being syntax for the least fixedpoint of 
a continuous monotonic functional (the limit of an "iterative" process, based
on higher-order functions as the true basis of simplicity in programming).

(extra bonus points awarded for using the smallest-Goedel-number Turing
machine that performs this function.)

I guess what I'm thinking of is

   To iterate is illiterate
   to recurse is worse
   to avoid this trap, see
   instructions on MAPC.
     (attributed to Vaughan Pratt)

   or, of course, rather than instructions on MAPC, maybe see Dimitre's forthcoming
article....

Tom Myers


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.