Created
January 30, 2009 04:09
-
-
Save okomok/54934 to your computer and use it in GitHub Desktop.
Triple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mada.vec | |
private[mada] object TripleVector { | |
def apply[A](v: Vector.Triple[A]): Vector[A] = v._1(v._2, v._3) | |
} | |
private[mada] object VectorTriple { | |
def apply[A](v: Vector[A]): Vector.Triple[A] = (v, v.start, v.end) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment