Chapter 15 Exercise 1

13 views
Skip to first unread message

chrisg

unread,
Mar 16, 2009, 11:12:44 PM3/16/09
to Real World Haskell Book Club
I'm scratching my head over this one. Is there a way to use
QuickCheck in the MonadHandle monad? I feel like I'm missing
something obvious, but there doesn't seem to be enough pure code to
actually create a test property.

David Fries

unread,
Mar 17, 2009, 5:37:54 AM3/17/09
to Real World Haskell Book Club
Same here. After some googling, I found an article which is closely
based on the material in chapter 15. It shows how to use quickcheck to
test DB access:
http://codebetter.com/blogs/matthew.podwysocki/archive/2009/01/10/functional-programming-unit-testing-part-6.aspx

Perhaps this helps. I still couldn't wrap my head around the exercise
even after reading it, though...

TomAmundsen

unread,
Apr 2, 2009, 5:16:25 PM4/2/09
to Real World Haskell Book Club
Yea, I am confused by this exercise as well. How can we inspect an
action?
Reply all
Reply to author
Forward
0 new messages