ListExtensions

ostrat.ListExtensions
final class ListExtensions[A](val thisList: List[A]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def goodReverse: Good[List[A]]

Reverses List[A] and puts it inside Good.

Reverses List[A] and puts it inside Good.

Attributes

def ifAppendList[B >: A](b: Boolean, newElems: => List[B]): List[B]
def removeFirst(f: A => Boolean): List[A]
def replace(oldValue: A, newValue: A): List[A]

Replaces all instances of the old value with the new value

Replaces all instances of the old value with the new value

Attributes

Concrete fields

val thisList: List[A]