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
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
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
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,
CALL FOR PAPERS
Workshop on Generic Programming 2006
Portland, Oregon, 16th September 2006
The Workshop on Generic Programming is sponsored
[ 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
***