[Cuis-dev] [Change set] Collection>>#flatten

Gastón Caruso gstn.caruso at gmail.com
Wed May 15 20:44:11 PDT 2019


Hi all! Facu Gelatti and I implemented flatten for Collection.

As a special case, we've considered strings as values, not as collections
(Pharo does the same). i.e.:
{ 'hello' } flatten => { 'hello' }  *and NOT*  { $h . $e . $l . $l . $o }

Here is the change set with code changes and tests.

Let us know what you think.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190516/142666c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FG-GC-Collection-flatten-GC.1.cs.st
Type: application/octet-stream
Size: 2189 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190516/142666c9/attachment.obj>


More information about the Cuis-dev mailing list