advent-of-code-ocr 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+22/−10 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +12/−0
- advent-of-code-ocr.cabal +3/−3
- src/Advent/OCR/LetterMap.hs +7/−7
CHANGELOG.md view
@@ -1,6 +1,18 @@ Changelog ========= +Version 0.1.1.0+---------------++*November 28, 2020*++<https://github.com/mstksg/advent-of-code-ocr/releases/tag/v0.1.1.0>++* Added O and I letterforms for small font (`rawLetterforms1`), thanks to+ [r/TheShallowOne][]!++ [r/TheShallowOne]: https://www.reddit.com/r/adventofcode/comments/k0lzz6/adventofcodeocr_command_line_utilityhaskell/gdwwu39+ Version 0.1.0.0 ---------------
advent-of-code-ocr.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.33.0.+-- This file has been generated from package.yaml by hpack version 0.34.2. -- -- see: https://github.com/sol/hpack ----- hash: 0805d230cfe0698678c80d553c5e6fddf779fa9b6dc4a8ce5afee7dd03dd3c74+-- hash: c9fca577a0ca10ba5ac99d9aec0bea19ffae6b6eb6dea3a2be3d569991f6cfbe name: advent-of-code-ocr-version: 0.1.0.0+version: 0.1.1.0 synopsis: Parse Advent of Code ASCII art letters description: "OCR" letter recognition for <https://adventofcode.com Advent of Code> puzzles, compatible with all puzzles from 2015 to 2019. Also comes with a
src/Advent/OCR/LetterMap.hs view
@@ -207,13 +207,13 @@ -- -- Load using @uncurry 'parseLetterMap'@. rawLetterforms1 :: (String, String)-rawLetterforms1 = ("ABCEFGHJKLPRUYZ", drop 1 [here|-.##..###...##..####.####..##..#..#...##.#..#.#....###..###..#..#.#...#.####-#..#.#..#.#..#.#....#....#..#.#..#....#.#.#..#....#..#.#..#.#..#.#...#....#-#..#.###..#....###..###..#....####....#.##...#....#..#.#..#.#..#..#.#....#.-####.#..#.#....#....#....#.##.#..#....#.#.#..#....###..###..#..#...#....#..-#..#.#..#.#..#.#....#....#..#.#..#.#..#.#.#..#....#....#.#..#..#...#...#...-#..#.###...##..####.#.....###.#..#..##..#..#.####.#....#..#..##....#...####+rawLetterforms1 = ("ABCEFGHIJKLOPRUYZ", drop 1 [here|+.##..###...##..####.####..##..#..#.###...##.#..#.#.....##..###..###..#..#.#...#.####+#..#.#..#.#..#.#....#....#..#.#..#..#.....#.#.#..#....#..#.#..#.#..#.#..#.#...#....#+#..#.###..#....###..###..#....####..#.....#.##...#....#..#.#..#.#..#.#..#..#.#....#.+####.#..#.#....#....#....#.##.#..#..#.....#.#.#..#....#..#.###..###..#..#...#....#..+#..#.#..#.#..#.#....#....#..#.#..#..#..#..#.#.#..#....#..#.#....#.#..#..#...#...#...+#..#.###...##..####.#.....###.#..#.###..##..#..#.####..##..#....#..#..##....#...#### |]) -- | Based on