mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-22 02:55:57 +03:00
Uncomplete Level01 core
This commit is contained in:
parent
8f003686c0
commit
cb721bd08f
@ -33,7 +33,7 @@ app
|
||||
-> (Response -> IO ResponseReceived)
|
||||
-> IO ResponseReceived
|
||||
app _ cb =
|
||||
cb $ responseLBS status200 [] "Hello, World!"
|
||||
error "Application not implemented"
|
||||
|
||||
-- We keep this main function here as it is useful to build your application as
|
||||
-- a library. The reasoning behind this is that when you come to do your
|
||||
@ -41,4 +41,4 @@ app _ cb =
|
||||
-- needing to worry about any initialisation code you've buried in your
|
||||
-- executable Main.hs.
|
||||
runApp :: IO ()
|
||||
runApp = run 8000 app
|
||||
runApp = run undefined undefined
|
||||
|
Loading…
Reference in New Issue
Block a user