Sha256: 4d763729139f57e53036f786fe49bae54e3dff419be28c9c41e406b5e48fb812
Contents?: true
Size: 465 Bytes
Versions: 123
Compression:
Stored size: 465 Bytes
Contents
module Etl open System let normalizeLetter letter = Char.ToLowerInvariant(letter) let transformLetterWithScore score lettersWithScore letter = Map.add (normalizeLetter letter) score lettersWithScore let transformScoreWithLetters lettersWithScore score letters = List.fold (transformLetterWithScore score) lettersWithScore letters let transform scoresWithLetters: Map<char, int> = Map.fold transformScoreWithLetters Map.empty scoresWithLetters
Version data entries
123 entries across 123 versions & 1 rubygems