You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ This vector has the following Big-O complexity:
16
16
17
17
## Usage
18
18
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-`.
20
20
21
21
**Constructor:**
22
22
@@ -29,7 +29,7 @@ For convenience of using this library without conflicting with other packages, f
29
29
30
30
Use `with-transient` to build vectors quickly.
31
31
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.
33
33
34
34
```lisp
35
35
(pv:with-transient (trans (pv:vec))
@@ -91,14 +91,14 @@ There are three functions provided for looping over vectors.
91
91
;; (2 4 6)
92
92
```
93
93
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.
95
95
96
96
```lisp
97
97
(pv:v-for (pv:vec 1 2 3) (lambda (x) (* 2 x)))
98
98
;; nil
99
99
```
100
100
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.
102
102
103
103
```lisp
104
104
(pv:v-reduce
@@ -121,7 +121,7 @@ It has been test in SBCL and CLisp.
0 commit comments