Safe Haskell | None |
---|

# Documentation

costDefault :: Eq a => Cost aSource

Simple cost function: all edit operations cost 1.

Cost represents a cost (or weight) of a symbol insertion, deletion or substitution. It can depend on edit operation position and on symbol values.