cmpsci220

package cmpsci220

Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. cmpsci220
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Cons[A](head: A, tail: List[A]) extends List[A] with Product with Serializable

  2. case class Empty[A]() extends List[A] with Product with Serializable

  3. sealed trait List[A] extends AnyRef

Value Members

  1. object List

  2. val error: (String) ⇒ Nothing

    Signals an error

  3. def fails(description: String)(body: ⇒ Unit): Unit

  4. def filter[A](f: (A) ⇒ Boolean, lst: List[A]): List[A]

  5. package graphics

    An API for drawing 2D images and animations.

  6. package hw

  7. def length[A](lst: List[A]): Int

  8. def map[A, B](f: (A) ⇒ B, lst: List[A]): List[B]

  9. def reverse[A](lst: List[A]): List[A]

  10. def test(description: String)(body: ⇒ Unit): Unit

Inherited from AnyRef

Inherited from Any

List

Miscellaneous

Testing

Ungrouped