On Mon, Jul 17, 2000 at 16:31:53 +0200, George Russell wrote:
> The output from obj should be [0,1,2,3,4,5,6].  It looks as if GHC is
> cloning the MVar ...
> 

Correct observation :-)

Add:
----
{-# NOINLINE objectid #-} 
----
to Obj.hs and it does the trick :-) (IIRC, this is documented)


Cheers,
Michael
-- 
 /~\ ASCII ribbon | "Never buy anything that mentions Windows on the package.
 \ / campaign     |  Except sheets of glass.  Or plastic.  And that smelly
  X  against      |  blue stuff that removes dirt without leaving a residue."
 / \ HTML mail    |      -- jhickle<at>pgh.nauticom.net in c.o.l.d.s.

Reply via email to