Fix type-synonym in tutorial
This commit is contained in:
parent
75da1a1b4b
commit
4e37365534
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue