Hei. I wonder if we arrow has wrappers on collecti...
# arrow
s
Hei. I wonder if we arrow has wrappers on collection apis to always return Nel instead of List. For example nonEmptyListOf(1, 1).distinct() will always be non empty, but because of kotlin apis, i get back List. This is uncomfortable. to ensure I am working with an nel, I often end-up converting list to nel. It would’ve been nice to not do that.
s
We don't have this out of the box.
I know this is quite annoying but without HKTs we have to redeclare every method 😕
😞 1
s
I understand. Thanks for the answer 🙂
s
My pleasure @Satyam Agarwal 🙌
🙌 1