abstract class MatrixVar[F[_]] extends AnyRef

Matrix path variable extractor For an example see MatrixURIs This is useful for representing a resource that may be addressed in multiple dimensions where order is unimportant

object BoardVar extends MatrixVar("square", List("x", "y"))
Path("/board/square;x=5;y=3") match {
  case Root / "board" / BoardVar(IntVar(x), IntVar(y)) => ...
}
Source
Path.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatrixVar
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MatrixVar(name: String, domain: F[String])(implicit arg0: Foldable[F])

Value Members

  1. def unapplySeq(str: String): Option[Seq[String]]