Jump to content

Category:TXR: Difference between revisions

Line 55:
 
Slices, even empty ones, are assignable places in TXR Lisp: we can easily replace a possibly empty section of a string, lisp or vector, with a sequence that is of different length, also possibly empty: for instance, if <code>x</code> contains <code>"abc"</code> then <code>(set [x 1..2] "foo")</code> changes <code>x</code> to contain <code>"afooc"</code>.
 
The <code>group-by</code> function is a straight rip-off from Ruby.
543

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.