Skip to content

Commit efb62a1

Browse files
authored
add "can" in a couple places (#1077)
I was reading the docs and noticed a couple sentences where it looked like the word "can" seemed appropriate.
1 parent 4786b7c commit efb62a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/concepts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Vectors return their count in ``O(1)`` time via :lpy:fn:`count`.
207207
Random access to vector elements by index (via :lpy:fn:`get` or :lpy:fn:`nth`) is ``O(log32(n))``.
208208
You can reverse a vector in constant time using :lpy:fn:`rseq`.
209209

210-
Vectors be called like a function similar to :lpy:fn:`nth` with an index and an optional default value, returning the value at the specified index if found.
210+
Vectors can be called like a function similar to :lpy:fn:`nth` with an index and an optional default value, returning the value at the specified index if found.
211211
Returns the default value or ``nil`` (if no default value is specified) otherwise.
212212

213213
.. code-block::
@@ -239,7 +239,7 @@ Random access to map values is ``O(log(n))``.
239239

240240
Calling :lpy:fn:`seq` on a map yields successive map entries, which are roughly equivalent to 2 element vectors.
241241

242-
Maps be called like a function similar to :lpy:fn:`get` with a key and an optional default value, returning the value at the specified key if found.
242+
Maps can be called like a function similar to :lpy:fn:`get` with a key and an optional default value, returning the value at the specified key if found.
243243
Returns the default value or ``nil`` (if no default value is specified) otherwise.
244244

245245
.. code-block::
@@ -262,7 +262,7 @@ Sets are unordered groups of unique values.
262262
Values must be hashable.
263263
Sets return their count in ``O(1)`` time via :lpy:fn:`count.`
264264

265-
Sets be called like a function similar to :lpy:fn:`get` with a key and an optional default value, returning the value if it exists in the set.
265+
Sets can be called like a function similar to :lpy:fn:`get` with a key and an optional default value, returning the value if it exists in the set.
266266
Returns the default value or ``nil`` (if no default value is specified) otherwise.
267267

268268
.. code-block::

0 commit comments

Comments
 (0)