All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.iterators.stir.util.ApplyConverter.scala Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy