[Haskell] Re: Question for the haskell implementors: Arrays, unsafePerformIO, runST

2006-02-16 Thread Ben Rudiak-Gould
Data.Array.ST has runSTArray :: Ix i => (forall s . ST s (STArray s i e)) -> Array i e I think if you can implement that, then all your problems will be solved. -- Ben ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/list

Re: [Haskell] lazy file reader

2006-02-16 Thread Neil Mitchell
Hi, > I will have to deal with situations where I only want to read the end of > the image. Try: hOpen, hSeek, then probably hGetBuf http://haskell.org/ghc/docs/latest/html/libraries/base/System-IO.html#t%3ASeekMode Thanks Neil ___ Haskell mailing l

Re: [Haskell] Question for the haskell implementors: Arrays, unsafePerformIO, runST

2006-02-16 Thread Jan-Willem Maessen
On Feb 15, 2006, at 10:53 PM, John Meacham wrote: So, I finally decided that jhc needs real arrays, but am running into an issue and was wondering how other compilers solve it, or if there is a general accepted way to do so. ... now, the problem occurs in newAT__ newAT__ :: Int -> AT a -> A

[Haskell] lazy file reader

2006-02-16 Thread Atila Romero
Hi, Im starting in haskell, and wish to develop a program to process hd images, searching for file specific patterns. I will have to deal with situations where I only want to read the end of the image. My problem is: if I use hGetContents to that, the beginning of the file will allways be readen,

[Haskell] CFP: Workshop on Generic Programming 2006

2006-02-16 Thread Ralf Hinze
CALL FOR PAPERS Workshop on Generic Programming 2006 Portland, Oregon, 16th September 2006 The Workshop on Generic Programming is sponsored

[Haskell] MGS 2006

2006-02-16 Thread Graham Hutton
[ This graduate school is likely to be of interest to the Haskell community, and in particular includes a course on Advanced Functional Programming - Graham Hutton ] * Midlands Graduate School 2006 in the Foundations of Computing ***