switching off let-floating

Hello, I thought I had asked this before but I cannot find a corresponding mail from me in the archives and, in addition, cannot remember to have gotten an answer. The library documentation of unsafePerformIO in http://haskell.org/ghc/docs/latest/html/libraries/base/ System.IO.Unsafe.html#v%3AunsafePerformIO says: "Make sure that the[?] either you switch off let-floating, [...]". But how do I switch off let-floating? Regards, Wolfgang

Am Mittwoch, 27. Juli 2005 21:17 schrieb Wolfgang Jeltsch:
[...]
The library documentation of unsafePerformIO in
http://haskell.org/ghc/docs/latest/html/libraries/base/ System.IO.Unsafe.html#v%3AunsafePerformIO
says: "Make sure that the[?] either you switch off let-floating, [...]". But how do I switch off let-floating?
By the way, the GHC User's Guide doesn't mention -fno-cse, at least not in the index.
Regards, Wolfgang
Regards again, Wolfgang

Am Mittwoch, 27. Juli 2005 21:39 schrieben Sie:
"Wolfgang Jeltsch"
writes: ....
But how do I switch off let-floating?
-fno-full-laziness, I believe.
What other consequences does this switch have? Since I'm implementing some kind of lazy I/O using unsafePerformIO, I rely on normal lazy behavior. Why isn't this switch documented in GHC's User's Guide? Where is it documented?
--sigbjorn
Regards, Wolfgang
participants (2)
-
Sigbjorn Finne
-
Wolfgang Jeltsch