Use resourcet in thebook.cabal.