Functions

trait Functions

This trait provides utility methods for functions

This trait provides utility methods for functions

Companion
object
class Object
trait Matchable
class Any
object Functions

Value members

Concrete methods

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

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

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

Extensions

Extensions

extension (f: A => Boolean)
def &&[A](g: A => Boolean): A => Boolean
def unary_![A]: A => Boolean
def ||[A](g: A => Boolean): A => Boolean
extension (f1: (T, S1) => S1)
def zip[T, S1, S2](f2: (T, S2) => S2): (T, (S1, S2)) => (S1, S2)

zip 2 state-folding functions together

zip 2 state-folding functions together