superruzafa / visual-scala-reference

Visual Scala Reference
https://superruzafa.github.io/visual-scala-reference
269 stars 28 forks source link

Inconsistent use of Seq instead of Collection #7

Closed exoego closed 5 years ago

exoego commented 5 years ago

The below 2 pages uses type Seq instead of Collection. https://superruzafa.github.io/visual-scala-reference/isDefinedAt_Seq https://superruzafa.github.io/visual-scala-reference/isDefinedAt_Map

Is this intended? If so, I would like to know why. If not intended, it should be corrected.

superruzafa commented 5 years ago

It's intended in the sense that IisDefinedAt is defined only for Seq and Map but not Set. Anyway there is a typo in the documentation where Seq is duplicated in the two documents that I'll fix.