Skip to content

Commit abd11b2

Browse files
authored
Remove duplicate type declaration
UserAPI1 is already defined at line 64.
1 parent 0c66b9c commit abd11b2

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)