FunctionK
Attributes
- Source
- FunctionK.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FunctionK.type
Members list
Value members
Concrete methods
A function that always returns a constant value.
The identity function.
Lift a function F[Any] => A where F is contravariant to a FunctionK operating on the kind and the Const type.
Lift a function F[Any] => A where F is contravariant to a FunctionK operating on the kind and the Const type.
Type parameters
- A
-
The type to use as the const type.
- F
-
The contravariant kind
Attributes
- Source
- FunctionK.scala
Lift a function F[Nothing] => A where F is covariant to a FunctionK operating on the kind and the Const type.
Lift a function F[Nothing] => A where F is covariant to a FunctionK operating on the kind and the Const type.
Type parameters
- A
-
The type to use as the const type.
- F
-
The covariant kind
Attributes
- Source
- FunctionK.scala
Lift a function A => F[Any] where F is contravariant to a FunctionK operating on the kind and the Const type.
Lift a function A => F[Any] where F is contravariant to a FunctionK operating on the kind and the Const type.
Type parameters
- A
-
The type to use as the const type.
- F
-
The contravariant kind
Attributes
- Source
- FunctionK.scala
Lift a function A => F[Nothing] where F is covariant to a FunctionK operating on the kind and the Const type.
Lift a function A => F[Nothing] where F is covariant to a FunctionK operating on the kind and the Const type.
Type parameters
- A
-
The type to use as the const type.
- F
-
The covariant kind
Attributes
- Source
- FunctionK.scala