LList

object LList
class Object
trait Matchable
class Any

Value members

Methods

def collect[T, U](f: T -⚬ Maybe[U]): LList[T] -⚬ LList[U]
def cons[T]: T |*| LList[T] -⚬ LList[T]
def consMaybe[T]: Maybe[T] |*| LList[T] -⚬ LList[T]
def fold[T](T: Monoid[T]): LList[T] -⚬ T
def fromList[T](ts: List[One -⚬ T]): One -⚬ LList[T]
def halfRotateL[A, B]: LList[A |*| B] -⚬ LList[B |*| A]

Shifts all the elements of a list by "half" to the left, moving the first half of the first element to the end of the list.

Example:

Before:

(a1, b1), (a2, b2), (a3, b3)

After:

(b1, a2), (b2, a3), (b3, a1)
def map[T, U](f: T -⚬ U): LList[T] -⚬ LList[U]
def nil[T]: One -⚬ LList[T]
def of[T](ts: One -⚬ T*): One -⚬ LList[T]
def singleton[T]: T -⚬ LList[T]
def splitEvenOdd[A]: LList[A] -⚬ LList[A] |*| LList[A]
def switch[T, R](caseNil: One -⚬ R, caseCons: T |*| LList[T] -⚬ R): LList[T] -⚬ R
def switchWithL[A, T, R](caseNil: A -⚬ R, caseCons: A |*| T |*| LList[T] -⚬ R): A |*| LList[T] -⚬ R
def switchWithR[A, T, R](caseNil: A -⚬ R, caseCons: T |*| LList[T] |*| A -⚬ R): LList[T] |*| A -⚬ R
def transform[T, A, U](f: A |*| T -⚬ U)(A: Comonoid[A]): A |*| LList[T] -⚬ LList[U]
def transformCollect[T, A, U](f: A |*| T -⚬ Maybe[U])(A: Comonoid[A]): A |*| LList[T] -⚬ LList[U]
def uncons[T]: LList[T] -⚬ Maybe[T |*| LList[T]]
def unzip[A, B]: LList[A |*| B] -⚬ LList[A] |*| LList[B]