[web-devel] Yesod and 'Order' datatype name

Anton Cheshkov acheshkov at gmail.com
Tue Apr 26 08:48:08 CEST 2011


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
Pomoguy.hs:22:1-12*
*                                             (defined at Model.hs:26:1)*


i hide *Order (import Yesod hiding (Order)) *all work fine.

Is '*Order*' name reserved by Yesod ?

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/20110426/4f5c59a2/attachment.htm>


More information about the web-devel mailing list