japgolly.scalajs.react.extra.router.StaticDsl
Prism map.
Some values of A can be turned into a Bs, some fail (in which case the route is considered non-matching).
A
B
All Bs can be turned back into As.
Exponential map.
Any A can be turned into a B and vice versa.