Add hello world example to readme & format code

This commit is contained in:
sigma-andex
2022-05-22 17:54:11 +01:00
parent 345675d5bd
commit fcf532bd71
10 changed files with 91 additions and 54 deletions

View File

@@ -30,7 +30,7 @@ router { route: SayHello } = readTextFile UTF8 filePath >>= ok
-- | Boot up the server
main :: ServerM
main =
serve { port: 8080, onStarted } { route, router }
serve { port: 8080, onStarted } { route, router }
where
onStarted = do
log " ┌────────────────────────────────────────────┐"