[web-devel] Yesod. Strange behavior. Persistent. Templating

Anton Cheshkov acheshkov at gmail.com
Thu May 5 12:34:47 CEST 2011


*Handler/Orders.hs:25:22:*
*    Not in scope: type constructor or class `Order'*
*Handler/Orders.hs:25:29:*
*    Not in scope: type constructor or class `Order'*
*Handler/Orders.hs:28:52: Not in scope: `orderCustomer'*
*Handler/Orders.hs:29:50: Not in scope: `orderSeller'*
*Handler/Orders.hs:30:38: Not in scope: `orderCreatedDt'*
*Handler/Orders.hs:31:38: Not in scope: `orderComment'*
*Handler/Orders.hs:32:38: Not in scope: `orderState'*
*Handler/Orders.hs:128:22: Not in scope: `orderCustomerState'*
*Handler/Orders.hs:129:22: Not in scope: `orderSellerState'*
*Handler/Orders.hs:130:22: Not in scope: `orderSeller'*
*Handler/Orders.hs:148:37: Not in scope: `orderCreatedDt'*
*Handler/Orders.hs:149:20: Not in scope: `orderState'*

etc ...

2011/5/5 Felipe Almeida Lessa <felipe.lessa at gmail.com>

> On Thu, May 5, 2011 at 6:38 AM, Anton Cheshkov <acheshkov at gmail.com>
> wrote:
> > Hi Michael,
> > i have found strange behavior. All worked fine.
> > i change the one line in the config/model file
> > from
> > Category
> >     name Text
> > to
> > Category
> >     name Text Desc
> >
> >
> > After that all application was broke .  Seems like all 'exports' from
> > Model.hs was lost.
> > If i change back to 'name Text'  all works fine again.
>
> Hi! =)
>
> Please post the error messages you are seeing.  That would be helpful.
>
> Cheers,
>
> --
> Felipe.
>



-- 
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/20110505/4a798d4b/attachment.htm>


More information about the web-devel mailing list