leaveye.guo: > to Ketil : > > Tring openBinaryFile, I notice that I cannot make one usable buffer, > just because I can not find one function to "malloc" a memory or just > get one "change-able" buffer. > > :-$
No 'malloc' here in Haskell land: that's done automatically. Recall that 'getContents' will read your opened file into a [Char]. (or use Data.ByteString to get a stream of Word8). What are you trying to do? -- Don _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
