[web-devel] Yesod. Pesistent

Anton Cheshkov acheshkov at gmail.com
Sat Apr 30 12:48:36 CEST 2011


Hello. I have some confusing with  PersistValue

I have two variables
   UserProfileId {unUserProfileId = PersistText "1"}    which obtained
  from* fromSinglePiece*  come from HTML Form
   UserProfileId {unUserProfileId = PersistInt64 1}"    is  *Key UserProfile
 *came from Database

Logically  i expect  that this values must be equal. But haskell says me not
)

How to get equality ?

Thanks.
-- 
Best regards,
Cheshkov Anton
Phone: +7 909 005 18 82
Skype: cheshkov_anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110430/a011852e/attachment.htm>


More information about the web-devel mailing list