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

com.github.halfmatthalfcat.stringmetric.package.scala Maven / Gradle / Ivy

The newest version!
package com.github.halfmatthalfcat

package object stringmetric {
	import scala.language.implicitConversions

	type CompareTuple[T] = (Array[T], Array[T])
	type MatchTuple[T] = (Array[T], Array[T])
	type StringTransform = Transform[Array[Char]]
	type Transform[A] = (A => A)

	implicit def stringToCharArray(s: String): Array[Char] = s.toCharArray
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy