开发者

how to use types created from persist template?

In my Model.hs I can successfully use the data types that correspond to my data tables that I descr开发者_运维百科ibe in config/models file.

I would like to use these types in my other files, for example, in Foundation.hs.

Is there a module that I need to import or a function to call from the file where I need to use the types?


I do not know why my first answer was deleted. Again, these types are visible in other files without importing anything. I posted the question too soon.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜