| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
object Function
extends
ScalaObject
- Martin Odersky - 1.0, 29/11/2006
def this
|
| != |
final def !=(arg0 : Any)
|
Boolean | Any |
| != |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| == |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| == |
final def ==(arg0 : Any)
|
Boolean | Any |
| asInstanceOf |
final def asInstanceOf[T0]
|
T0 | Any |
| chain |
def chain[a](fs : Seq[(a) => a])
Given a sequence of functions
f1,
[details]
..,
fn, return the function f1
andThen ... andThen fn.
|
(a) => a | |
| clone |
protected def clone
|
Object | AnyRef |
| const |
def const[T, U](x : T)(y : U)
The constant function
|
T | |
| curried |
def curried[a1, a2, a3, b](f : (a1, a2, a3) => b)
Currying for functions of arity 3
[details]
|
(a1) => (a2) => (a3) => b | |
| curried |
def curried[a1, a2, a3, a4, a5, b](f : (a1, a2, a3, a4, a5) => b)
Currying for functions of arity 5
|
(a1) => (a2) => (a3) => (a4) => (a5) => b | |
| curried |
def curried[a1, a2, b](f : (a1, a2) => b)
Currying for functions of arity 2
[details]
This transforms a function
of arity 2 into a a unary function returning another unary function.
|
(a1) => (a2) => b | |
| curried |
def curried[a1, a2, a3, a4, b](f : (a1, a2, a3, a4) => b)
Currying for functions of arity 4
|
(a1) => (a2) => (a3) => (a4) => b | |
| eq |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize |
protected def finalize
|
Unit | AnyRef |
| getClass |
final def getClass
|
Class[Any] | AnyRef |
| hashCode |
def hashCode
|
Int | AnyRef |
| isInstanceOf |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify |
final def notify
|
Unit | AnyRef |
| notifyAll |
final def notifyAll
|
Unit | AnyRef |
| synchronized |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString |
def toString
|
String | AnyRef |
| tupled |
def tupled[a1, a2, a3, b](f : (a1, a2, a3) => b)
Tupling for functions of arity 3
[details]
This transforms a function
of arity 3 into a unary function that takes a triple of arguments.
|
((a1, a2, a3)) => b | |
| tupled |
def tupled[a1, a2, a3, a4, a5, b](f : (a1, a2, a3, a4, a5) => b)
Tupling for functions of arity 5
[details]
This transforms a function
of arity 5 into a unary function that takes a 5-tuple of arguments.
|
((a1, a2, a3, a4, a5)) => b | |
| tupled |
def tupled[a1, a2, b](f : (a1, a2) => b)
Tupling for functions of arity 2
[details]
This transforms a function
of arity 2 into a unary function that takes a pair of arguments.
|
((a1, a2)) => b | |
| tupled |
def tupled[a1, a2, a3, a4, b](f : (a1, a2, a3, a4) => b)
Tupling for functions of arity 4
[details]
This transforms a function
of arity 4 into a unary function that takes a 4-tuple of arguments.
|
((a1, a2, a3, a4)) => b | |
| uncurried |
def uncurried[a1, a2, a3, b](f : (a1) => (a2) => (a3) => b)
Uncurrying for functions of arity 3
|
(a1, a2, a3) => b | |
| uncurried |
def uncurried[a1, a2, a3, a4, a5, b](f : (a1) => (a2) => (a3) => (a4) => (a5) => b)
Uncurrying for functions of arity 5
|
(a1, a2, a3, a4, a5) => b | |
| uncurried |
def uncurried[a1, a2, b](f : (a1) => (a2) => b)
Uncurrying for functions of arity 2
[details]
This transforms a unary function
returning another unary function into a function of arity 2.
|
(a1, a2) => b | |
| uncurried |
def uncurried[a1, a2, a3, a4, b](f : (a1) => (a2) => (a3) => (a4) => b)
Uncurrying for functions of arity 4
|
(a1, a2, a3, a4) => b | |
| untupled |
def untupled[a1, a2, a3, b](f : ((a1, a2, a3)) => b)
Un-tupling for functions of arity 3
[details]
This transforms a function taking
a triple of arguments into a ternary function which takes each argument separately.
|
(a1, a2, a3) => b | |
| untupled |
def untupled[a1, a2, a3, a4, a5, b](f : ((a1, a2, a3, a4, a5)) => b)
Un-tupling for functions of arity 5
[details]
This transforms a function taking
a 5-tuple of arguments into a function of arity 5 which takes each argument separately.
|
(a1, a2, a3, a4, a5) => b | |
| untupled |
def untupled[a1, a2, b](f : ((a1, a2)) => b)
Un-tupling for functions of arity 2
[details]
This transforms a function taking
a pair of arguments into a binary function which takes each argument separately.
|
(a1, a2) => b | |
| untupled |
def untupled[a1, a2, a3, a4, b](f : ((a1, a2, a3, a4)) => b)
Un-tupling for functions of arity 4
[details]
This transforms a function taking
a 4-tuple of arguments into a function of arity 4 which takes each argument separately.
|
(a1, a2, a3, a4) => b | |
| wait |
final def wait
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |