Sha256: e1d287ac7dbca689ad37d515fea284b7d9fc7fa11d031ff8073402a11a7c5a33
Contents?: true
Size: 189 Bytes
Versions: 396
Compression:
Stored size: 189 Bytes
Contents
import sequtils proc isDifferent(pair: tuple[a, b: char]): bool = pair.a != pair.b proc distance*(s1, s2: string): int = len(filter(zip(toSeq(s1.items), toSeq(s2.items)), isDifferent))
Version data entries
396 entries across 396 versions & 1 rubygems