---------- Forwarded message ----------
From:
Mister Asafe Ribeiro <asafe.hai.kai@gmail.com>
Date: Mon, May 2, 2011 at 8:00 PM
Subject: Re: [web-devel] Devel Server
To: Michael Snoyman <
michael@snoyman.com>
What now ? I get that:
Couldn't match expected type `Database.Persist.Base.EntityDef'
with actual type `persistent-0.4.2:Database.Persist.Base.EntityD
When I change the imports to
Database.Persist.TH and Database.Persist.Base the file where is the foundation, KafeeZeit.hs, does not work anymore and I do not know what type/functions supply. I'm using Yesod 0.7
On Sun, May 1, 2011 at 11:57 PM, Michael Snoyman
<michael@snoyman.com> wrote:
On Mon, May 2, 2011 at 5:53 AM, Mister Asafe Ribeiro
<
asafe.hai.kai@gmail.com> wrote:
> When I try to run devel server of my yesod powered site i get:
>
> Could not find module `
Database.Persist.TH':
> It is a member of the hidden package `persistent-0.4.2'.
> It is a member of the hidden package `persistent-0.3.1.3'.
> Use -v to see a list of the files searched for.
>
> What should I do to expose persistent module ?
>
Actually, it's now part of persistent-template, try installing that package.
Michael
--
na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na