Newbie problems with Persistent
There was a change from version 0.8 to 0.9 where we no longer include Eq
and Show
instances by default. To add them in, add the following line underneath age Int
:
deriving Show Eq
The book is still targeted at version 0.10 of Yesod, but I'll try to update it in the next few days.