Sha256: 0bd332da0db81b7a320373935adb2910a552ce9231085c6bcc76930ce73b6d4e
Contents?: true
Size: 335 Bytes
Versions: 396
Compression:
Stored size: 335 Bytes
Contents
module ETL (transform) where import Data.Char (toLower) import qualified Data.Map as M type PointValue = Int type LowerTile = Char type UpperTile = Char transform :: M.Map PointValue [UpperTile] -> M.Map LowerTile PointValue transform = M.fromList . concatMap go . M.toList where go (v, tiles) = zip (map toLower tiles) (repeat v)
Version data entries
396 entries across 396 versions & 1 rubygems