AnyTypeExtensions

ostrat.AnyTypeExtensions
class AnyTypeExtensions[A](thisA: A)

Extension methods for Any type A.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def *(operand: Int): Multiple[A]

Extension method on any type creates Multiple class of that type.

Extension method on any type creates Multiple class of that type.

Attributes

def fRepeat(num: Int)(f: A => A): A
def match3Excep[B](f1: A => Boolean, v1: => B, f2: A => Boolean, v2: => B, f3: A => Boolean, v3: => B, excepStr: => String): B

Short hand alternative to a 3 case match statement, throwing an exception id no match.

Short hand alternative to a 3 case match statement, throwing an exception id no match.

Attributes

def nextFromArr(arr: Sequ[A]): A