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)
Duh.
Mike
.___________________________________________________________________.
Michael A. Halcrow
Security Software Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D
Copyright is nothing more than a temporary loan from the public
domain.
pgpxr6vsa0NW0.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
