cmpsci220
package
cmpsci220
Linear Supertypes
AnyRef
,
Any
Ordering
Grouped
Alphabetic
By inheritance
Inherited
cmpsci220
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
case class
Cons
[
A
]
(
head:
A
,
tail:
List
[
A
]
)
extends
List
[
A
] with
Product
with
Serializable
case class
Empty
[
A
]
()
extends
List
[
A
] with
Product
with
Serializable
sealed
trait
List
[
A
]
extends
AnyRef
Value Members
object
List
val
error
: (
String
) ⇒
Nothing
Signals an error
def
fails
(
description:
String
)
(
body: ⇒
Unit
)
:
Unit
def
filter
[
A
]
(
f: (
A
) ⇒
Boolean
,
lst:
List
[
A
]
)
:
List
[
A
]
package
graphics
An API for drawing 2D images and animations.
package
hw
def
length
[
A
]
(
lst:
List
[
A
]
)
:
Int
def
map
[
A
,
B
]
(
f: (
A
) ⇒
B
,
lst:
List
[
A
]
)
:
List
[
B
]
def
reverse
[
A
]
(
lst:
List
[
A
]
)
:
List
[
A
]
def
test
(
description:
String
)
(
body: ⇒
Unit
)
:
Unit
Inherited from
AnyRef
Inherited from
Any
List
Miscellaneous
Testing
Ungrouped