Skip to content

Commit

Permalink
Fix type-synonym in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarni committed Mar 20, 2016
1 parent 75da1a1 commit 4e37365
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/tutorial/ApiType.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ type Get = Verb 'GET 200
There are other predefined type synonyms for other common HTTP methods,
such as e.g.:
``` haskell ignore
data Delete = Verb 'DELETE 200
data Patch = Verb 'PATCH 200
data Post = Verb 'POST 200
data Put = Verb 'PUT 200
type Delete = Verb 'DELETE 200
type Patch = Verb 'PATCH 200
type Post = Verb 'POST 200
type Put = Verb 'PUT 200
```
There are also variants that do not return a 200 status code, such
Expand Down

0 comments on commit 4e37365

Please sign in to comment.