[web-devel] Yesod and 'Order' datatype name
acheshkov at gmail.com
Tue Apr 26 08:55:00 CEST 2011
I have found what it is )
*data family Order val -- Defined in Database.Persist.Base*
2011/4/26 Anton Cheshkov <acheshkov at gmail.com>
> Michael hello .
> I have got strange ambiguity in yesod. I have in my model the entity with
> name Order.
> In compile time i got next error
> *Conflicting exports for `Order':*
> * `module Yesod' exports `Yesod.Order' imported from Yesod at
> Pomoguy.hs:15:1-12 *
> * `module Model' exports `Model.Order' imported from Model at
> * (defined at Model.hs:26:1)*
> i hide *Order (import Yesod hiding (Order)) *all work fine.
> Is '*Order*' name reserved by Yesod ?
> Best regards,
> Cheshkov Anton
> Phone: +7 909 005 18 82
> Skype: cheshkov_anton
Phone: +7 909 005 18 82
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel