package
dotty.tools
Constructors
Members
val
ListOfNil
: List
[
Nil$
]
final
def
sameLength
(
xs:
List
[
T
]
,
ys:
List
[
T
]
)
: Boolean
True if two lists have the same length. Since calling length on linear sequences is O(n), it is an inadvisable way to test length equality.
True if two lists have the same length. Since calling length on linear sequences is O(n), it is an inadvisable way to test length equality.