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@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@haskell.org
http://www.haskell.org/mailman/listinfo/beginners