On Tuesday 28 January 2003 11:07, Immanuel Litzroth wrote:
> What exactly does the castIOUArray function do?
I asked the exact same question a couple of weeks ago.
The think the answer is it does nothing.
Have a look at the "What does castIOUArray do?"
and "Endian mode and hPutBuf & hGetBuf" thre
If you dont want to wait for libraries in development, the easiest way
to do real binary IO is via hGetArray and hPutArray which let you get
and put raw arrays of bytes (Word8). unfortunatly, there is no way to do
binary IO in pure Haskell 98.
http://haskell.cs.yale.edu/ghc/docs/latest/html/base
r 2003 11:55
An: [EMAIL PROTECTED]
Betreff: Binary I/O in haskell.
I am currently writing a small sound/dsp application in haskell, and
I am having some problems deciding on the best way to do I/O from
soundfiles. I am currently only implementing raw data input, and I am
looking for code examples that
If you dont want to wait for libraries in development, the easiest way
to do real binary IO is via hGetArray and hPutArray which let you get
and put raw arrays of bytes (Word8). unfortunatly, there is no way to do
binary IO in pure Haskell 98.
http://haskell.cs.yale.edu/ghc/docs/latest/html/base/
I am currently writing a small sound/dsp application in haskell, and
I am having some problems deciding on the best way to do I/O from
soundfiles. I am currently only implementing raw data input, and I am
looking for code examples that demonstrate the best way(s) to
implement reading in and process
Carlos´ got the flue and could not come to work. I´d like to join
Kevin on his fight :-).
I think system CT is simple and will make the type system and life for
programmers simpler. A language based on system CT would require no
class or instance declarations (although they could be kept for
do
I tell you, I'm having a really tough time figuring out how to get I/O
to work in Haskell. There really is no need to make it so bizarre; one little
side-effect wouldn't have hurt Haskell so much, eh?
In any case, I'm just trying a simple example:
main = writeFile "ReadMe" "Thi