On Thu, 04 Nov 2004 21:13:39 -0600, Michael Halcrow <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 04, 2004 at 01:07:46PM -0700, Soren Harward wrote:
> > We run an operating system that most of our peers haven't even heard
> > of. Many of us could already program when we started college. I'm
> > trying to represent the larger group that sees something like:
> >
> > for (n=0; n<10; n++) {
> > cout << n << endl;
> > }
> >
> > and can't even begin to tell you what it does.
>
> Oh, that's easy. It does the exact same thing as this:
>
> let rec t lst x = match x with 0 -> 0::lst | y -> (t (y::lst) (y-1)) in
> List.map (function x -> print_string ((string_of_int x)^"\n")) (t [] 9)
And some people say Perl looks like line noise...
:-)
Bryan
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list