[Haskell-cafe] Re: GHC 6.4.1 x86-64 does not compile

2006-05-05 Thread Simon Marlow
Dusan Kolar wrote: Hello all, I've install universal binary for x86_64 of GHC 6.4.1. The installation was done on AMD dual core machine. Uname for the machine gives: Linux machine name 2.6.16.5 #1 SMP Thu Apr 13 09:08:22 CEST 2006 x86_64 x86_64 x86_64 GNU/Linux While ghci was running

[Haskell-cafe] Re: Optimizing locking with MVars

2006-05-05 Thread Simon Marlow
Bulat Ziganshin wrote: Wednesday, May 3, 2006, 3:07:19 PM, you wrote: I propose to add INLINE pragmas to withMVar and friends. and to any higher-order function? :) imho, key of this problem is that GHC don't have a way to optimize just the required function with all it's enclosed calls.

[Haskell-cafe] Dynamically stackable monads

2006-05-05 Thread Christophe Poucet
Hello,I was wondering if it's possible to stack a runtime-known amount ofmonads on top of each other. Let me illustrate. Assume I have a monadthat can consume data and expects as starting parameter an action of the underlying monad to use this data (call it produce at the lower levelmonad).Now one

Re: [Haskell-cafe] NewBinary/ BinMem and IO monad

2006-05-05 Thread Marc Weber
just add unsafePerformIO: great idea! In my case I can also use unsafeInterleaveIO or lazyness, can't I? Marc ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] NewBinary/ BinMem and IO monad

2006-05-05 Thread Marc Weber
On Sat, May 06, 2006 at 12:39:46AM +0200, Marc Weber wrote: just add unsafePerformIO: great idea! In my case I can also use unsafeInterleaveIO or lazyness, can't I? Of cause I can't. unsafePerformIO is of type IO a - IO a. Sorry for posting before thinking ;) Marc

Re: [Haskell-cafe] Porting GHC to OSX86?

2006-05-05 Thread Scott Weeks
Hi All, Does anyone know if there's been any headway on this? If there's not a port available, where do I go about finding the hc files? Could I compile on a windows or linux x86 box and use the generated hc files to bootstrap? Cheers, Scott On 22/03/2006, at 7:09 AM, Deling Ren wrote: