cmpsci220.hw

joinlists

package joinlists

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. joinlists
  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 Empty[A]() extends JoinList[A] with Product with Serializable

  2. case class Join[A](lst1: JoinList[A], lst2: JoinList[A], size: Int) extends JoinList[A] with Product with Serializable

  3. sealed trait JoinList[A] extends AnyRef

  4. trait JoinListFunctions extends AnyRef

    You need to implement these functions

  5. case class Singleton[A](elt: A) extends JoinList[A] with Product with Serializable

Value Members

  1. def fromList[A](lst: scala.List[A]): JoinList[A]

  2. def join[A](lst1: JoinList[A], lst2: JoinList[A]): JoinList[A]

  3. def length[A](lst: JoinList[A]): Int

  4. def splitAt[A](n: Int, lst: JoinList[A]): (JoinList[A], JoinList[A])

  5. def toList[A](lst: JoinList[A]): scala.List[A]

Inherited from AnyRef

Inherited from Any

Ungrouped