turn off let floating

Simon Peyton-Jones simonpj at microsoft.com
Tue Apr 6 10:38:38 EDT 2004


Strangely (and bogusly) there is no such flag in GHC6.2.  Someone must
have noticed this already because it's there in the HEAD
(-fno-full-laziness), and has been since Feb 2004.  Strange.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Bernard James POPE
| Sent: 06 April 2004 09:24
| To: glasgow-haskell-users at haskell.org
| Cc: Bernard James POPE
| Subject: turn off let floating
| 
| Hi all,
| 
| In the documentation for System.IO.Unsafe
| it says:
| 
|    Make sure that the either you switch off let-floating,
|    or that the call to unsafePerformIO cannot float outside a lambda.
| 
| My question is how can you turn off let floating? I can't seem to
| find a flag that suggests this behaviour.
| 
| Cheers,
| Bernie.
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list