Amend: Difference between revisions
"Better category ordering, add redirects to categories, fix pseudo-adverb categories"
No edit summary |
("Better category ordering, add redirects to categories, fix pseudo-adverb categories") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
{{primitive|@[x;y[;f];z]<br>@[x;y;f[;z]]}}
'''
Amend takes 3 or 4 arguments, where:
* <code>x</code> is an array to amend
* <code>y</code> is the index(or indices) to amend
* <code>
* <code>
3 argument amend always acts as an element replacement function, since <code>z</code> is [[right|<code>:</code>]] if it is omitted.
Line 26:
== ngn/k ==
ngn/k's amend has <code>z</code> as the optional argument, instead of having <code>f</code> as an optional argument.
[[Category:Verbs]]
[[Category:Special forms]]
[[Category:Primitives]]
|