Wrapper for two functions, T => String and String => T
Does not validate that the functions represent a bijection, you must do that yourself with some cool library like scalacheck.
A router is a wrapper around a sequence of bijections.
Anything that can unapply on string values can be put into a url extractor
Small DSL to build a Router.
Wrapper for two functions, T => String and String => T
Does not validate that the functions represent a bijection, you must do that yourself with some cool library like scalacheck.