package
dotty.tools
Constructors
Members
type
FatalError
=
FatalError
val
FatalError
: FatalError$
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.