metric-0.1.4: Metric spaces.
Data.Metric
class Metric a whereSource
Methods
(<->) :: a -> a -> DoubleSource
distance :: a -> a -> DoubleSource
Instances
data Discrete a whereSource
Constructors
newtype Hamming Source
Fields
newtype Levenshtein Source
newtype RestrictedDamerauLevenshtein Source
newtype Euclidean Source
newtype Taxicab Source
newtype Cosine Source
newtype Chebyshev Source
newtype PostOffice Source