Skip to content

Commit e02f29a

Browse files
authored
Merge pull request #921 from manusajith/doc_patches
Fix some typos in docs
2 parents fe20b5a + 6a410dc commit e02f29a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/cookbook/db-postgres-pool/PostgresPool.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to flexibly set up a whole bunch of PostgreSQL connections tailored to our
6161
needs and then to forget about it all by simply asking for a connection
6262
using `withResource`.
6363
64-
The handlers are straighforward. One takes care of inserting a new
64+
The handlers are straightforward. One takes care of inserting a new
6565
value in the database while the other fetches all messages and returns
6666
them. We also provide a function for serving our web app given a PostgreSQL
6767
connection pool, which simply calls servant-server's `serve` function.

doc/cookbook/db-sqlite-simple/DBConnection.lhs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ initDB dbfile = withConnection dbfile $ \conn ->
4242
"CREATE TABLE IF NOT EXISTS messages (msg text not null)"
4343
```
4444
45-
Next, our server implementation. It will be parametrised (take as
45+
Next, our server implementation. It will be parametrised (take as an
4646
argument) by the name of the file that contains our SQLite database.
47-
The handlers are straighforward. One takes care of inserting a new
47+
The handlers are straightforward. One takes care of inserting a new
4848
value in the database while the other fetches all messages and returns
4949
them. We also provide a function for serving our web app given an
5050
SQLite database file, which simply calls servant-server's `serve` function.

doc/cookbook/file-upload/FileUpload.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dedicated `ReqBody`-like combinator named
4848
This combinator takes two parameters. The first one is the
4949
"backend" to use. Currently, you only have the choice between
5050
`Mem` and `Tmp`. The former loads the entire input in memory,
51-
even the uploadedd files, while `Tmp` will stream uploaded
51+
even the uploaded files, while `Tmp` will stream uploaded
5252
files to some temporary directory.
5353
5454
The second parameter is the type you want the multipart data

doc/tutorial/ApiType.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ type StreamGet = Stream 'GET
137137
type StreamPost = Stream 'POST
138138
```
139139
140-
These describe endpoints that return a stream of values rather than just a single value. They not only take a single content type as a parameter, but also a framing strategy -- this specifies how the individual results are deliniated from one another in the stream. The two standard strategies given with Servant are `NewlineFraming` and `NetstringFraming`, but others can be written to match other protocols.
140+
These describe endpoints that return a stream of values rather than just a single value. They not only take a single content type as a parameter, but also a framing strategy -- this specifies how the individual results are delineated from one another in the stream. The two standard strategies given with Servant are `NewlineFraming` and `NetstringFraming`, but others can be written to match other protocols.
141141
142142
143143
### `Capture`

0 commit comments

Comments
 (0)