On Wed, 15 Dec 2004 22:58:53 -0500, Robert Dockins
[EMAIL PROTECTED] wrote:
On Thu, 2004-12-16 at 01:05 +0100, Sebastian Sylvan wrote:
Another question!
Is there a way to force the garbage collector to kick in?
I''m trying to find out if my finalizer gets called correctly but I
don't
?
It's basically a shorthand for writing accessor functions.
You could do something like:
data Tree a = Nil | Node (Tree a) a (Tree a)
left (Node l _ _) = l
value (Node _ v _) = v
right (Node _ _ r) = r
/S
--
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862
think that's a pretty good way to go about it. If you calmly list
the benifits of Haskell, with a few tutorial-ish examples, and get
that published in a print magazine (which the mainstream programmers
read) I think that could convince quite a few people to give it a try.
/S
--
Sebastian Sylvan
401 - 403 of 403 matches
Mail list logo