
pl.iterators.stir.util.ApplyConverter.scala Maven / Gradle / Ivy
package pl.iterators.stir.util
import pl.iterators.stir.server.Route
/**
* ApplyConverter allows generic conversion of functions of type `(T1, T2, ...) => Route` to
* `(TupleX(T1, T2, ...)) => Route`.
*/
abstract class ApplyConverter[L] {
type In
def apply(f: In): L => Route
}
object ApplyConverter extends ApplyConverterInstances
© 2015 - 2025 Weber Informatics LLC | Privacy Policy