Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Fix examples. (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
alpacaaa authored and paf31 committed Sep 29, 2017
1 parent ad13995 commit 23d24a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Quickly create HTTP servers from functions!
A single endpoint which returns plain text:

```purescript
server :: GET String
server :: forall eff. GET eff String
server = pure "Hello, World!"
main = do
Expand All @@ -22,7 +22,7 @@ main = do
Use a function argument with type `RequestBody a` to read the request body:

```purescript
server :: RequestBody String -> POST String
server :: forall eff. RequestBody String -> POST eff String
server (RequestBody s) = pure s
```

Expand Down

0 comments on commit 23d24a6

Please sign in to comment.