ghci also gives you a list of names if it can't find the variable you typed wrong. I'm not certain but i assume they use Levenshtein aswell. I definitivly use Demarau-Levenshtein for the same feature in pjass.
[0]: https://github.com/ghc/ghc/blob/25977ab542a30df4ae71d9699d01...