final case class ICons[A](head: A, tail: IList[A]) extends IList[A] with Product with Serializable
- Source
- IList.scala
- Alphabetic
- By Inheritance
- ICons
- IList
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++(as: IList[A]): IList[A]
alias for
concat
alias for
concat
- Definition Classes
- IList
- def ++:(as: IList[A]): IList[A]
alias for
prepend
alias for
prepend
- Definition Classes
- IList
- def +:(a: A): IList[A]
- Definition Classes
- IList
- def /:[B](b: B)(f: (B, A) => B): B
alias for
foldLeft
alias for
foldLeft
- Definition Classes
- IList
- def :+(a: A): IList[A]
- Definition Classes
- IList
- def ::(a: A): IList[A]
- Definition Classes
- IList
- def :::(as: IList[A]): IList[A]
- Definition Classes
- IList
- def :\[B](b: B)(f: (A, B) => B): B
alias for
foldRight
alias for
foldRight
- Definition Classes
- IList
- final def <^>[B](f: (OneAnd[IList, A]) => B)(implicit B: Monoid[B]): B
Returns
f
applied to contents if non-empty, otherwise the zero ofB
.Returns
f
applied to contents if non-empty, otherwise the zero ofB
.- Definition Classes
- IList
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[B](pf: PartialFunction[A, B]): IList[B]
- Definition Classes
- IList
- def collectFirst[B](pf: PartialFunction[A, B]): Maybe[B]
- Definition Classes
- IList
- def concat(as: IList[A]): IList[A]
- Definition Classes
- IList
- def containsSlice(as: IList[A])(implicit ev: Equal[A]): Boolean
- Definition Classes
- IList
- def count(f: (A) => Boolean): Int
- Definition Classes
- IList
- def distinct(implicit A: Order[A]): IList[A]
- Definition Classes
- IList
- def drop(n: Int): IList[A]
- Definition Classes
- IList
- def dropRight(n: Int): IList[A]
- Definition Classes
- IList
- def dropRightWhile(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def dropWhile(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def endsWith(as: IList[A])(implicit ev: Equal[A]): Boolean
- Definition Classes
- IList
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def filter(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def filterM[F[_]](f: (A) => F[Boolean])(implicit F: Applicative[F]): F[IList[A]]
- Definition Classes
- IList
- def filterNot(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(f: (A) => Boolean): Maybe[A]
- Definition Classes
- IList
- def flatMap[B](f: (A) => IList[B]): IList[B]
- Definition Classes
- IList
- def flatten[B](implicit ev: <~<[A, IList[B]]): IList[B]
- Definition Classes
- IList
- def foldLeft[B](b: B)(f: (B, A) => B): B
- Definition Classes
- IList
- def foldRight[B](b: B)(f: (A, B) => B): B
- Definition Classes
- IList
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[K](f: (A) => K)(implicit ev: Order[K]): ==>>[K, NonEmptyList[A]]
- Definition Classes
- IList
- def groupBy1[K](f: (A) => K)(implicit ev: Order[K]): ==>>[K, OneAnd[IList, A]]
- Definition Classes
- IList
- val head: A
- def headMaybe: Maybe[A]
- Definition Classes
- IList
- def headOption: Option[A]
- Definition Classes
- IList
- def indexOf(a: A)(implicit ev: Equal[A]): Option[Int]
- Definition Classes
- IList
- def indexOfSlice(slice: IList[A])(implicit ev: Equal[A]): Option[Int]
- Definition Classes
- IList
- def indexWhere(f: (A) => Boolean): Option[Int]
- Definition Classes
- IList
- def initMaybe: Maybe[IList[A]]
- Definition Classes
- IList
- def inits: IList[IList[A]]
- Definition Classes
- IList
- def interleave(that: IList[A]): IList[A]
- Definition Classes
- IList
- def intersperse(a: A): IList[A]
- Definition Classes
- IList
- def isEmpty: Boolean
- Definition Classes
- IList
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastIndexOf(a: A)(implicit ev: Equal[A]): Option[Int]
- Definition Classes
- IList
- def lastIndexOfSlice(as: IList[A])(implicit ev: Equal[A]): Option[Int]
- Definition Classes
- IList
- def lastIndexWhere(f: (A) => Boolean): Option[Int]
- Definition Classes
- IList
- final def lastOption: Option[A]
- Definition Classes
- IList
- Annotations
- @tailrec()
- def length: Int
- Definition Classes
- IList
- def map[B](f: (A) => B): IList[B]
- Definition Classes
- IList
- def mapAccumLeft[B, C](c: C)(f: (C, A) => (C, B)): (C, IList[B])
All of the
B
s, in order, and the finalC
acquired by a stateful left fold overas
.All of the
B
s, in order, and the finalC
acquired by a stateful left fold overas
.- Definition Classes
- IList
- final def mapAccumRight[B, C](c: C)(f: (C, A) => (C, B)): (C, IList[B])
All of the
B
s, in orderas
-wise, and the finalC
acquired by a stateful right fold overas
.All of the
B
s, in orderas
-wise, and the finalC
acquired by a stateful right fold overas
.- Definition Classes
- IList
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- IList
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def padTo(n: Int, a: A): IList[A]
- Definition Classes
- IList
- def partition(f: (A) => Boolean): (IList[A], IList[A])
- Definition Classes
- IList
- def patch(from: Int, patch: IList[A], replaced: Int): IList[A]
- Definition Classes
- IList
- def prefixLength(f: (A) => Boolean): Int
- Definition Classes
- IList
- def prepend(as: IList[A]): IList[A]
- Definition Classes
- IList
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reduceLeftOption(f: (A, A) => A): Option[A]
- Definition Classes
- IList
- def reduceRightOption(f: (A, A) => A): Option[A]
- Definition Classes
- IList
- def reverse: IList[A]
- Definition Classes
- IList
- def reverseMap[B](f: (A) => B): IList[B]
- Definition Classes
- IList
- def reverse_:::(as: IList[A]): IList[A]
- Definition Classes
- IList
- def scanLeft[B](z: B)(f: (B, A) => B): IList[B]
- Definition Classes
- IList
- def scanRight[B](z: B)(f: (A, B) => B): IList[B]
- Definition Classes
- IList
- def slice(from: Int, until: Int): IList[A]
- Definition Classes
- IList
- def sortBy[B](f: (A) => B)(implicit B: Order[B]): IList[A]
- Definition Classes
- IList
- def sorted(implicit ev: Order[A]): IList[A]
- Definition Classes
- IList
- def span(f: (A) => Boolean): (IList[A], IList[A])
- Definition Classes
- IList
- def splitAt(n: Int): (IList[A], IList[A])
- Definition Classes
- IList
- def startsWith(as: IList[A])(implicit ev: Equal[A]): Boolean
- Definition Classes
- IList
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tail: IList[A]
- def tailMaybe: Maybe[IList[A]]
- Definition Classes
- IList
- def tails: IList[IList[A]]
- Definition Classes
- IList
- def take(n: Int): IList[A]
- Definition Classes
- IList
- def takeRight(n: Int): IList[A]
- Definition Classes
- IList
- def takeRightWhile(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def takeWhile(f: (A) => Boolean): IList[A]
- Definition Classes
- IList
- def toEphemeralStream: EphemeralStream[A]
- Definition Classes
- IList
- def toLazyList: LazyList[A]
- Definition Classes
- IList
- def toList: List[A]
- Definition Classes
- IList
- def toMap[K, V](implicit ev0: <~<[A, (K, V)], ev1: Order[K]): ==>>[K, V]
- Definition Classes
- IList
- def toNel: Maybe[NonEmptyList[A]]
- Definition Classes
- IList
- def toStream: Stream[A]
- Definition Classes
- IList
- def toString(): String
- Definition Classes
- IList → AnyRef → Any
- def toVector: Vector[A]
- Definition Classes
- IList
- def toZipper: Maybe[Zipper[A]]
- Definition Classes
- IList
- def traverseDisjunction[E, B](f: (A) => \/[E, B]): \/[E, IList[B]]
Referentially transparent replacement for traverse, specialised to disjunction.
Referentially transparent replacement for traverse, specialised to disjunction.
- Definition Classes
- IList
- def uncons[B](n: => B, c: (A, IList[A]) => B): B
- Definition Classes
- IList
- def unzip[B, C](implicit ev: <~<[A, (B, C)]): (IList[B], IList[C])
- Definition Classes
- IList
- def updated(index: Int, a: A): IList[A]
Unlike stdlib's version, this is total and simply ignores indices that are out of range
Unlike stdlib's version, this is total and simply ignores indices that are out of range
- Definition Classes
- IList
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def widen[B](implicit ev: <~<[A, B]): IList[B]
- Definition Classes
- IList
- def zip[B](b: => IList[B]): IList[(A, B)]
- Definition Classes
- IList
- def zipWithIndex: IList[(A, Int)]
- Definition Classes
- IList