> On Fri, Apr 09, 2004 at 03:27:01PM +0200, David Sabel wrote:
> 
> > you can turn off let-floating by compiling without optimizations,
> > i.e. without using a -O flag or using -O0 explicitly. 
> > The disadvantage is that most of all other optimizations 
> > are turned off too.
> 
> That is exactly what I'm doing at the moment. The module that has the
> nasty impure bits in it is not compiled with optimisations. 
> I will improve this when GHC regains the non-let floating flag.

If you need -ffull-laziness to force a certain behaviour when using
unsafePerformIO, I say that what you're doing is at the very least
unsupported ;-)  However, there are occasoinally good uses for this:
HOOD is one; I imagine your case is similar?

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to