package typelevel
- Alphabetic
- Public
- All
Type Members
-
trait
BinaryPolyFunc extends AnyRef
Allows the definition of binary poly-functions (e.g.
Allows the definition of binary poly-functions (e.g. for folding over tuples).
Note: the poly-function implementation seen here is merely a stripped down version of what Miles Sabin made available with his awesome shapeless library. All credit goes to him!
- trait BinaryTupleOp extends AnyRef
- trait FnComponents[-FN, TUPLE, RESULT] extends AnyRef
- trait LowPriorityParamsAsArgs0 extends AnyRef
- trait LowPriorityParamsAsArgs1 extends LowPriorityParamsAsArgs0
- trait LowPriorityParamsToTuple extends AnyRef
- trait LowPriorityTupleArity extends AnyRef
- trait LowPriorityTupleConcat0 extends AnyRef
- trait LowPriorityTupleConcat1 extends LowPriorityTupleConcat0
- trait LowPriorityTupleConcat2 extends LowPriorityTupleConcat1
- trait LowPriorityTupleConcat3 extends LowPriorityTupleConcat2
- trait LowPriorityTupleConcat4 extends LowPriorityTupleConcat3
- trait LowPriorityTupleSubtract0 extends AnyRef
- trait LowPriorityTupleSubtract1 extends LowPriorityTupleSubtract0
- trait MatchType[T] extends AnyRef
-
trait
ParamConcat[T, U] extends BinaryTupleOp
Concatenates two parameter lists into one.
Concatenates two parameter lists into one. Each parameter list can be either a single type, or a tuple.
The arity of a type if
0
if it'sUnit
/Nothing
, as these types act as a neutral element in the tuple-concatenation operation that takes place when combining inputs/outputs.The arity of a type is
1
if it's a "singular" type (as viewed at compile-time; at run-time, the value might in fact be a tuple).Otherwise, the arity of a tuple.
-
trait
ParamSubtract[TU, T] extends BinaryTupleOp
Implicits values of this type are defined when
T
is a prefix of the tupleTU
.Implicits values of this type are defined when
T
is a prefix of the tupleTU
. Then,Out
(= U
) is the type of the rest of the tuple.See also ParamConcat for information on arity.
-
trait
ParamsAsArgs[I] extends AnyRef
View parameters (single type or a tuple) as arguments of a function of the appropriate arity.
- trait ParamsToTuple[I] extends AnyRef
- abstract class TupleAppendOneInstances extends AnyRef
-
trait
TupleArity[T] extends AnyRef
The arity of type
T
(if its a tuple), as viewed at compile-time (at run-time, a value that is determined to be a "singular" type, might in fact be a tuple). - abstract class TupleFoldInstances extends AnyRef
-
trait
TupleHeadAndTail[TUPLE, HEAD, TAIL] extends AnyRef
Implicits values of this type are defined for tuples of arity 2+, and split the tuple into the head type and tail type.
Implicits values of this type are defined for tuples of arity 2+, and split the tuple into the head type and tail type.
- TUPLE
The tuple type.
- HEAD
The type of the tuple head.
- TAIL
The type of the tuple with the head removed.
Value Members
- object BinaryPolyFunc
- object FnComponents
- object MatchType extends GenericMatchType
- object ParamConcat extends LowPriorityTupleConcat4
- object ParamSubtract extends LowPriorityTupleSubtract1
- object ParamsAsArgs extends LowPriorityParamsAsArgs1
- object ParamsToTuple extends LowPriorityParamsToTuple
- object TupleArity extends LowPriorityTupleArity
- object TupleHeadAndTail
- object TupleOps