Two new chapters, preorder links, and a page count estimate
August 18th, 2008 by Bryan O'Sullivan
I just updated the beta site with two new chapters:
We need your help! Please read these chapters as soon as you can, and use the comment system to give us feedback by this Friday, August 22. We will be sending the two chapters to O’Reilly’s production team on Monday. The last incomplete chapter will be online by the end of this week.
This latest refresh of the beta site includes updates to almost every chapter, to reflect the suggestions and comments that so many of you have made. Thanks for your help!
We have added some convenient links to make it easier to preorder the book online. If those links are not convenient for purchasing in your country, just ask for ISBN 978-0596514983 at your favourite bookstore.
Finally, we have received the first rough estimate of a page count from O’Reilly’s production team. They expect the book to be around 450 pages in length. We will follow up with a more accurate estimate, and a better idea of a final release date (currently the end of October), once we get that information.
Great news!
In your example in stm:
transferTest = do
alice <- newTVar 12
bob <- newTVar 4
basicTransfer 3 alice bob
liftM2 (,) (readTVar alice) (readTVar bob)
Should be:
transferTest = do
alice <- newTVar (Gold 12)
bob <- newTVar (Gold 4)
basicTransfer (Gold 3) alice bob
liftM2 (,) (readTVar alice) (readTVar bob)
In order to give the answer you specified which was:
(Gold 9,Gold 7)
Erm I guess I should leave that on the book not here, nm.
Commenting no longer works for me. The little wheel just spins and spins.
Lennart, commenting should generally work on normal paragraphs. There are a few callout boxes on which it doesn’t, and unfortunately I don’t know why.
Hi, I’ve just read chapter 29. I’m new to haskell (HAppS caught my interest). I’ve only read some tutorials about monads, quotes, TH, MVars, but didn’t program anything yet. I’ve got a big problem with understanding code as I don’t have the “common function index” in my head yet.
As I read the chapter I was amazed, because I suddenly understood everything. Every used function was explained. You’re doing great job and I will certainly buy this book immediately after release.
Trin, thanks!