Inherited from Serializable
Inherited by implicit conversion any2stringadd from
PartialApply[F, ParameterName] to any2stringadd[PartialApply[F, ParameterName]]
Inherited by implicit conversion StringFormat from
PartialApply[F, ParameterName] to StringFormat[PartialApply[F, ParameterName]]
Inherited by implicit conversion Ensuring from
PartialApply[F, ParameterName] to Ensuring[PartialApply[F, ParameterName]]
Inherited by implicit conversion ArrowAssoc from
PartialApply[F, ParameterName] to ArrowAssoc[PartialApply[F, ParameterName]]
A dependent type class that bind the specific parameter of
ParameterName
toF
Imports
import com.thoughtworks.feature.PartialApply.ops._
This will enable the partialApply method for any functions
Author:
杨博 (Yang Bo) <[email protected]>
The function type to be partially apply
Given a function with three parameters.
When partially applying the second parameter.
And applying the rest parameters.
Then the result should be the same as applying at once.
A function with refined parameters can partially apply.
Partial applying can be chained.
Function objects can partially apply.
Case class companion can partially apply.
Call-by-name functions can partially apply.