[web-devel] Fwd: Devel Server
Mister Asafe Ribeiro
asafe.hai.kai at gmail.com
Tue May 3 17:58:34 CEST 2011
I runned cabal install and then ./dist/build/kafeezeit-devel/kafeezeit-devel
i tried Yesod 0.8 but it does not compile with ghc 7.0.3.
On Mon, May 2, 2011 at 10:41 PM, Michael Snoyman <michael at snoyman.com>wrote:
> I didn't realize you were using Yesod 0.7. In that case, scratch what
> I said previously: the persistent-template package only applies to
> Yesod 0.8 and later. How exactly are you running the devel server?
> On Tue, May 3, 2011 at 2:06 AM, Mister Asafe Ribeiro
> <asafe.hai.kai at gmail.com> wrote:
> > ---------- Forwarded message ----------
> > From: Mister Asafe Ribeiro <asafe.hai.kai at gmail.com>
> > Date: Mon, May 2, 2011 at 8:00 PM
> > Subject: Re: [web-devel] Devel Server
> > To: Michael Snoyman <michael at 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
> > the file where is the foundation, KafeeZeit.hs, does not work anymore and
> > 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 at snoyman.com>
> > wrote:
> >> On Mon, May 2, 2011 at 5:53 AM, Mister Asafe Ribeiro
> >> <asafe.hai.kai at 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
> > --
> > --
> > _______________________________________________
> > web-devel mailing list
> > web-devel at haskell.org
> > http://www.haskell.org/mailman/listinfo/web-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel