Re: [Haskell] crash unsafeperformio stm

2006-07-11 Thread Taral
On 7/12/06, Taral <[EMAIL PROTECTED]> wrote: Because atomically doesn't like unsafePerformIO. In more detail: "atomically" is not re-entrant. You could try something like: main = a `seq` do ... to make sure that you don't re-enter the STM subsystem and crash. -- Taral <[EMAIL PROTECTED]> "Yo

Re: [Haskell] crash unsafeperformio stm

2006-07-11 Thread Taral
On 7/11/06, Johannes Goetz <[EMAIL PROTECTED]> wrote: i'm using ghc6 (apt-get install ghc6) on debian31. as far is i understand, the following program shouldn't crash. can somebody tell me why it does? thanks a lot. johannes. Because atomically doesn't like unsafePerformIO. For TVars there's n

[Haskell] crash unsafeperformio stm

2006-07-11 Thread Johannes Goetz
hi folks, i'm using ghc6 (apt-get install ghc6) on debian31. as far is i understand, the following program shouldn't crash. can somebody tell me why it does? thanks a lot. johannes. module Main(main) where import Control.Concurrent.STM import System.IO.Unsafe {-# NOINLINE a #-} a :: TMVar I

[Haskell] Lrc status

2006-07-11 Thread Robert Dockins
Does anyone have any information about the current status of Lrc? Has it ever been released? Does it live somewhere else now? The homepage is apparently: http://www.di.uminho.pt/~jas/Research/ LRC/lrc.html It has a bunch of "coming soon" links, but the page hasn't been updated since abo

Re: [Haskell] Can someone provide a summary of best Sudoku solver times?

2006-07-11 Thread Chris Kuklewicz
Murray Gross wrote: I'd greatly appreciate it if someone could provide a summary of the best times recently posted for Haskell Sudoku solvers so I can compare them with some experimental code I have. Since the Sudoku puzzle is incidental to the purpose of my code, I'd just like to find out whe