I read many answers but still can't understand it .So Can some please explain me difference between iterable , Traversable and genTraversable ?
Asked
Active
Viewed 79 times
0
-
Did you read the scaladoc for those traits? Also, why do you need to know? Are you implementing a collection class that needs to make this distinction? – Bob Dalgleish May 31 '18 at 19:39
-
Actually sir I have an assignment where I need to explain it's difference . so sir I'm asking for explanation .. – USER May 31 '18 at 19:42
-
And what did you get from reading the scaladoc and the code? – Bob Dalgleish May 31 '18 at 19:43
-
Pushing and pulling transverable and iyerable – USER May 31 '18 at 19:45
-
1Another way you could learn the difference is by creating a class that implements those traits and see what the differences are. – Bob Dalgleish May 31 '18 at 19:54
-
Can u plss explain – USER May 31 '18 at 19:55
-
2You have homework to do. You asked the stackoverflow community to do your homework for you. I just told you that you have to do an amount of work, and we should be able to help you when you get stuck. So, it all starts with you doing some work and showing it to us. – Bob Dalgleish May 31 '18 at 19:58
-
Ohkk sir , Ty !!! – USER May 31 '18 at 19:59
-
3partial duplicate of https://stackoverflow.com/questions/7425370/scala-what-is-the-difference-between-traversable-and-iterable-traits-in-scala-c – Tzach Zohar May 31 '18 at 19:59