We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644a217 commit 3b43156Copy full SHA for 3b43156
src/Init/GetElem.lean
@@ -116,7 +116,7 @@ macro:max x:term noWs "[" i:term "]" noWs "?" : term => `(getElem? $x $i)
116
117
/--
118
The syntax `arr[i]!` gets the `i`'th element of the collection `arr` and
119
-panics `i` is out of bounds.
+panics if `i` is out of bounds.
120
-/
121
macro:max x:term noWs "[" i:term "]" noWs "!" : term => `(getElem! $x $i)
122
0 commit comments