Skip to content

Commit f88cfd0

Browse files
authored
Merge pull request #958 from chreekat/patch-1
Remove duplicate type declaration in server tutorial
2 parents 0c66b9c + abd11b2 commit f88cfd0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

doc/tutorial/Server.lhs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ users1 =
9595
]
9696
```
9797
98-
Let's also write our API type.
99-
100-
``` haskell ignore
101-
type UserAPI1 = "users" :> Get '[JSON] [User]
102-
```
103-
10498
We can now take care of writing the actual webservice that will handle requests
10599
to such an API. This one will be very simple, being reduced to just a single
106100
endpoint. The type of the web application is determined by the API type,

0 commit comments

Comments
 (0)