So... if I'm not actually using lazyness for anything, would it do any harm to change Double to Double# in the Haskell source code? Or is there some reason why this would be undesirable? (The source is carefully constructed

Well, you'd need -fglasgow-exts for it to even compile. Other than that, you'd have to use all primitive operations and you might well be preventing the compiler from doing useful optimizations. But this is really a question for the Simons or other folks who actualy understand the GHC internals.

Hmm... that doesn't sound like such a hot idea...

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to