Category talk:Wren-seq: Difference between revisions
→Source code: Removed type aliases and Lst.exchange method which are no longer needed.
(→Source code: Added 'indexOfSlice' and 'isSliceOf' methods to Lst class.) |
(→Source code: Removed type aliases and Lst.exchange method which are no longer needed.) |
||
Line 148:
// Returns true if 's' is a slice of 'a' or false otherwise.
static isSliceOf(a, s) { indexOfSlice(a, s) >= 0 }
// Returns true if 'a' contains ALL the values of a sequence, false otherwise.
Line 473 ⟶ 464:
// Returns the string representation of the underlying list.
toString { _stack.toString }
}</lang>
|