Find: Difference between revisions

93 bytes added ,  1 year ago
"Better category ordering, add redirects to categories, fix pseudo-adverb categories"
(add K3 data)
("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
 
(5 intermediate revisions by 2 users not shown)
Line 1:
{{primitive|x&?y}}
 
The '''find''' primitive is used to find the index of an atom <code>y</code> in array <code>x</code>. It returns <code>0N</code> if the element is not found.
Line 20:
 
In K3, Find is [[atomicity|non-atomic.]] It considers <code>y</code> as a single unit, and will return a single index for it. <code>?/:</code> is needed to simulate the functionality of later Ks.
 
[[Category:Verbs]]
[[Category:Named verbs]]
[[Category:Operator verbs]]
[[Category:Primitives]]
720

edits