This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Why does immutable.PagedSeq inherit from collection.IndexedSeq directly?

No replies
Marco Rico-Gomez
Joined: 2010-09-26,
User offline. Last seen 42 years 45 weeks ago.

Hi,

I'm just wondering why the class immutable.PagedSeq (2.8.0) inherits directly from collection.IndexedSeq?

The other classes (Vector, Range) in the immutable package inherit from immutable.IndexedSeq. Why does immutable.PagedSeq breaks that scheme?

Thanks.

Marco

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland