Tutorial about low-level I/O in Haskell

Hi, while polishing a small library of mine, I ended up writing a tutorial about the use of hGetBufNonBlocking and the related Foreign.* functions you need to do fast, block-oriented I/O in Haskell. There is something to be said for literate programming. Using recent topics for inspiration, the text describes the implementation of a fast word-counting program. :-) Here is the URL: http://cryp.to/blockio/docs/tutorial.html Peter

Peter Simons
Pretty neat. Wouldn't it be a nice addition to the Tutorials section on the Haskell Bookshelf? Note: as I gather, GHC's lists are not doubly linked. -- Feri.

Ferenc Wagner writes:
Pretty neat. Wouldn't it be a nice addition to the Tutorials section on the Haskell Bookshelf?
Thank you. I certainly wouldn't mind having a link from haskell.org to it. Neither would I mind having a link to the BlockIO library itself, but in the past I couldn't seem to figure out whom to contact to get it done, so I've just added links in the Wiki.
Note: as I gather, GHC's lists are not doubly linked.
Thanks for the correction! Peter
participants (2)
-
Ferenc Wagner
-
Peter Simons