ApplyConverter allows generic conversion of functions of type (T1, T2, ...) => Route
to
(TupleX(T1, T2, ...)) => Route
.
Allows the definition of binary poly-functions (e.g.
A magnet that wraps a ClassTag
Constructor for instances of type R
which can be created from a tuple of type T
.
Phantom type providing implicit evidence that a given type is a Tuple or Unit.
Provides a way to convert a value into an Tuple.
Provides a way to convert a value into an Tuple. If the value is already a Tuple then it is returned unchanged, otherwise it's wrapped in a Tuple1 instance.
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!