Functions

org.specs2.control.Functions
See theFunctions companion object
trait Functions

This trait provides utility methods for functions

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Functions.type

Members list

Type members

Classlikes

case class LogicalFunction[A](f: A => Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
implicit class zipFoldFunctions[T, S1](f1: (T, S1) => S1)

zip 2 state-folding functions together

zip 2 state-folding functions together

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def untupled[a1, a2, a3, a4, a5, a6, b](f: ((a1, a2, a3, a4, a5, a6)) => b): (a1, a2, a3, a4, a5, a6) => b

missing untupled functions to 10 arguments

missing untupled functions to 10 arguments

Attributes

def untupled[a1, a2, a3, a4, a5, a6, a7, b](f: ((a1, a2, a3, a4, a5, a6, a7)) => b): (a1, a2, a3, a4, a5, a6, a7) => b
def untupled[a1, a2, a3, a4, a5, a6, a7, a8, b](f: ((a1, a2, a3, a4, a5, a6, a7, a8)) => b): (a1, a2, a3, a4, a5, a6, a7, a8) => b
def untupled[a1, a2, a3, a4, a5, a6, a7, a8, a9, b](f: ((a1, a2, a3, a4, a5, a6, a7, a8, a9)) => b): (a1, a2, a3, a4, a5, a6, a7, a8, a9) => b
def untupled[a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, b](f: ((a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)) => b): (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) => b

Implicits

Implicits

implicit def logicalFunction[A](f: A => Boolean): LogicalFunction[A]
implicit def toStrictFunction1[T, S](f: (=> T) => S): T => S

transform a byname Function1 into a strict Function1

transform a byname Function1 into a strict Function1

Attributes

final implicit def zipFoldFunctions[T, S1](f1: (T, S1) => S1): zipFoldFunctions[T, S1]

zip 2 state-folding functions together

zip 2 state-folding functions together

Attributes