Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Support ListCollection concatenation into ListCollection #205

Open
idanarye opened this issue Oct 30, 2019 · 1 comment
Open

Support ListCollection concatenation into ListCollection #205

idanarye opened this issue Oct 30, 2019 · 1 comment

Comments

@idanarye
Copy link

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
Copy link
Contributor

koreno commented Oct 30, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants