[Haskell-beginners] Yesod error

Michael Snoyman michael at snoyman.com
Thu Jun 20 07:04:57 CEST 2013


I haven't finished updating the book for Yesod 1.2 yet; the function
persist has been removed in 1.2, and replaced with the two alternatives
persistUpperCase and persistLowerCase. I recommend using the latter. I'm
hoping to finish updating the Persistent chapter soon (it's about halfway
done).


On Thu, Jun 20, 2013 at 12:43 AM, Lee Short <blackcat at pro-ns.net> wrote:

> I am working my way through the Yesod book and I am having trouble writing
> any code that uses persist.  I am consistently getting
>
> Not in scope: 'persist'
>
> at the point I am invoking the persist quasiquoter.  This even happens
> when I am using the example code verbatim.  Tried updating to the latest
> versions of yesod, persist, etc.  Didn't help.  The Hackage docs don't show
> any info on the quasiquoters in found in a package (presumably because they
> are a language extensio).
>
> Anybody seen this before?  Or got any ideas how I could debut this?
>
> thanks,
> Lee
>
>
> ______________________________**_________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/**mailman/listinfo/beginners<http://www.haskell.org/mailman/listinfo/beginners>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130620/91db0812/attachment.htm>


More information about the Beginners mailing list