weka / easypy

This repository will no longer be maintained. See instead https://github.com/real-easypy/easypy
BSD 3-Clause "New" or "Revised" License
14 stars 0 forks source link

Support ListCollection concatenation into ListCollection #205

Open idanarye opened 5 years ago

idanarye commented 5 years ago
In [1]: from easypy.collections import ListCollection

In [2]: ListCollection([1]) + ListCollection([2])
Out[2]: [1, 2]

In [3]: type(_)
Out[3]: list

Ideally we'd want it to return a ListCollection.

koreno commented 5 years ago

Seems legit. What about other collection types combinations? FilterColl + FilterColl? SimpleObjectColl + *?