Skip to content

Commit 29974e8

Browse files
committed
Spelling and grammar
1 parent 2d58025 commit 29974e8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This vector has the following Big-O complexity:
1616

1717
## Usage
1818

19-
For convenience of using this library without conflicting with other packages, functions that transform or read from vectors are prefixed with `v-`.
19+
For the convenience of using this library without conflicting with other packages, functions that transform or read from vectors are prefixed with `v-`.
2020

2121
**Constructor:**
2222

@@ -29,7 +29,7 @@ For convenience of using this library without conflicting with other packages, f
2929

3030
Use `with-transient` to build vectors quickly.
3131

32-
All methods that work on a persistent vector will work on a transient vector by mutating it in place, but unlike the persistent vector, transient vectors are not thread safe.
32+
All methods that work on a persistent vector will work on a transient vector by mutating it in place. Unlike the persistent vector, transient vectors are not thread safe.
3333

3434
```lisp
3535
(pv:with-transient (trans (pv:vec))
@@ -91,14 +91,14 @@ There are three functions provided for looping over vectors.
9191
;; (2 4 6)
9292
```
9393

94-
`(v-for vector (lambda (x)))` is for loop over all elements in a vector.
94+
`(v-for vector (lambda (x)))` is for looping over all elements in a vector.
9595

9696
```lisp
9797
(pv:v-for (pv:vec 1 2 3) (lambda (x) (* 2 x)))
9898
;; nil
9999
```
100100

101-
`(v-reduce vector (lambda (aggregate val)) &optional starting-agggregate)` is for aggregating values in a vector.
101+
`(v-reduce vector (lambda (aggregate val)) &optional starting-aggregate)` is for aggregating values in a vector.
102102

103103
```lisp
104104
(pv:v-reduce
@@ -121,7 +121,7 @@ It has been test in SBCL and CLisp.
121121

122122
## Benchmarking
123123

124-
Appending 1000000 items to a vector in 150ms:
124+
Appending a million items to a vector in 150ms:
125125

126126
```lisp
127127
(time (loop for i from 0 to 1000000

0 commit comments

Comments
 (0)