Fix typo in servant-js README
This commit is contained in:
parent
a274d8a124
commit
5d4b730b3e
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ server counter = counterPlusOne counter -- (+1) on the TVar
|
|||
:<|> currentValue counter -- read the TVar
|
||||
|
||||
server' :: TVar Counter -> Server TestApi'
|
||||
server counter = server counter
|
||||
server' counter = server counter
|
||||
:<|> serveDirectory www -- serve static files
|
||||
|
||||
runServer :: TVar Counter -- ^ shared variable for the counter
|
||||
|
|
Loading…
Reference in a new issue