Cut (K): Difference between revisions

Jump to navigation Jump to search
65 bytes added ,  07:01, 8 September 2022
m (Primitive function category)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


When the left argument to <code>_</code> is a single value rather than a list, it indicates [[Drop]] rather than Cut. Cut has some resemblance to Drop in that it omits every element whose index is less than the first element of the left argument.
When the left argument to <code>_</code> is a single value rather than a list, it indicates [[Drop]] rather than Cut. Cut has some resemblance to Drop in that it omits every element whose index is less than the first element of the left argument.
 
== See also ==
Cut is related to [[Partition]] and [[Partitioned Enclose]]; see [[Partition representations]].
* [[Partition]]
* [[Partitioned Enclose]]
* [[Partition representations]]


== External Links ==
== External Links ==
Line 11: Line 13:
=== Documentation ===
=== Documentation ===


* [https://k.miraheze.org/wiki/Cut The K Language Wiki]
* [https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.md#user-content-floor oK]
* [https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.md#user-content-floor oK]
 
{{APL built-ins}}
[[Category:Primitive functions]]
[[Category:Primitive functions]]

Navigation menu