Browse thread
[Caml-list] Frustrated Beginner
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-12-23 (08:26) |
From: | Dustin Sallings <dustin@s...> |
Subject: | Re: [Caml-list] Frustrated Beginner |
On Dec 22, 2003, at 23:23, Tyler Eaves wrote: > This makes since in general. I'm guess h and t correspond to the head > and tail of the lift. It'll probably make more sense tomorrow. It's > 2:11 here, and I'd planned to be asleep two hours ago. The replies > have kept me up ;) > > Based on what I've learned, I've tried to write a simple prime number > finder. It doesn't actually *work* or anything (Syntax Error on line > 23, can't figure out why...), but I think I've figured some of this > stuff out, kinda. I'm encouraged at least. I responded to this off-list. Basically it's learning to program without side-effects. I provided a few side-effect-free implementations which can be seen here: http://bleu.west.spy.net/~dustin/tmp/primes.ml.html I rather like this, as well: http://www.bagley.org/~doug/ocaml/Notes/okoans.shtml -- SPY My girlfriend asked me which one I like better. pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE L_______________________ I hope the answer won't upset her. ____________ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners