Category talk:Wren-seq: Difference between revisions

Content added Content deleted
(→‎Source code: Added Lst.except and Lst.intersect methods.)
m (→‎Source code: Fixed syntax highlighting.)
Line 1: Line 1:
===Source code===
===Source code===


<lang ecmascript>/* Module "seq.wren" */
<syntaxhighlight lang=ecmascript>/* Module "seq.wren" */


import "./trait" for Cloneable, CloneableSeq
import "./trait" for Cloneable, CloneableSeq
Line 927: Line 927:
// Returns the string representation of the view.
// Returns the string representation of the view.
toString { "[" + _lst.skip(_start).take(_count).join(", ") + "]" }
toString { "[" + _lst.skip(_start).take(_count).join(", ") + "]" }
}</lang>
}</syntaxhighlight>