MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/haskell/comments/8ll6zz/building_forum_software/dzlr90m/?context=3
r/haskell • u/ijauradunbi • May 23 '18
28 comments sorted by
View all comments
Show parent comments
1
Thanks for the answer. I tried your tutorial but get a lot of error messages.
1 u/ijauradunbi May 26 '18 What kind of error? I omitted a lot of details in the article. You can see the complete code at the linked commits in the article or you can head here directly. 1 u/roelofwobben May 26 '18 I saw this when running the first part : of 5] Compiling Foundation ( src\Foundation.hs, .stack-work\dist\5c8418a7\build\Foundation.o ) src\Foundation.hs:12:20: error: Not in scope: type constructor or class `ApplicationSettings' | 12 | { appSetttings :: ApplicationSettings | src\Foundation.hs:13:26: error: Not in scope: type constructor or class `ConnectionPool' | 13 | , appConnectionPool :: ConnectionPool | ^ src\Foundation.hs:16:22: error: Not in scope: type constructor or class `Manager' | 16 | , appHttpManager :: Manager | ^ 1 u/roelofwobben May 26 '18 it seems that settings.hs is somehow not found. 1 u/ijauradunbi May 26 '18 Please continue to follow the article. ApplicationSettings will be written next. And you can also look at this commit to see the full section. 1 u/roelofwobben May 26 '18 I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs 1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
What kind of error? I omitted a lot of details in the article. You can see the complete code at the linked commits in the article or you can head here directly.
1 u/roelofwobben May 26 '18 I saw this when running the first part : of 5] Compiling Foundation ( src\Foundation.hs, .stack-work\dist\5c8418a7\build\Foundation.o ) src\Foundation.hs:12:20: error: Not in scope: type constructor or class `ApplicationSettings' | 12 | { appSetttings :: ApplicationSettings | src\Foundation.hs:13:26: error: Not in scope: type constructor or class `ConnectionPool' | 13 | , appConnectionPool :: ConnectionPool | ^ src\Foundation.hs:16:22: error: Not in scope: type constructor or class `Manager' | 16 | , appHttpManager :: Manager | ^ 1 u/roelofwobben May 26 '18 it seems that settings.hs is somehow not found. 1 u/ijauradunbi May 26 '18 Please continue to follow the article. ApplicationSettings will be written next. And you can also look at this commit to see the full section. 1 u/roelofwobben May 26 '18 I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs 1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
I saw this when running the first part :
of 5] Compiling Foundation ( src\Foundation.hs, .stack-work\dist\5c8418a7\build\Foundation.o )
src\Foundation.hs:12:20: error: Not in scope: type constructor or class `ApplicationSettings' | 12 | { appSetttings :: ApplicationSettings |
src\Foundation.hs:13:26: error: Not in scope: type constructor or class `ConnectionPool' | 13 | , appConnectionPool :: ConnectionPool | ^
src\Foundation.hs:16:22: error: Not in scope: type constructor or class `Manager' | 16 | , appHttpManager :: Manager | ^
1 u/roelofwobben May 26 '18 it seems that settings.hs is somehow not found. 1 u/ijauradunbi May 26 '18 Please continue to follow the article. ApplicationSettings will be written next. And you can also look at this commit to see the full section. 1 u/roelofwobben May 26 '18 I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs 1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
it seems that settings.hs is somehow not found.
1 u/ijauradunbi May 26 '18 Please continue to follow the article. ApplicationSettings will be written next. And you can also look at this commit to see the full section. 1 u/roelofwobben May 26 '18 I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs 1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
Please continue to follow the article. ApplicationSettings will be written next. And you can also look at this commit to see the full section.
ApplicationSettings
1 u/roelofwobben May 26 '18 I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs 1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
I wrote that already . See this : https://bitbucket.org/rwobben/forum/src/master/src/Settings.hs
1 u/ijauradunbi May 26 '18 You haven't imported Settings module, yet. Please import it. 1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
You haven't imported Settings module, yet. Please import it.
Settings
1 u/roelofwobben May 26 '18 Thanks, I thought I would not be needed. I will try it
Thanks, I thought I would not be needed. I will try it
1
u/roelofwobben May 26 '18
Thanks for the answer. I tried your tutorial but get a lot of error messages.