name: hamming version: 0.0.0 license: AGPL-3.0-or-later author: "Jonathan Lamothe" maintainer: "jonathan@jlamothe.net" copyright: "2024 Jonathan Lamothe" extra-source-files: - README.md - CHANGELOG.md # Metadata used when publishing your package synopsis: game/utility for teaching about Hamming codes category: Games # To avoid duplicated efforts in documentation and dealing with the # complications of embedding Haddock markup inside cabal files, it is # common to point users to the README.md file. description: Please see the README on GitHub at dependencies: - base >= 4.7 && < 5 ghc-options: - -Wall - -Wcompat - -Widentities - -Wincomplete-record-updates - -Wincomplete-uni-patterns - -Wmissing-export-lists - -Wmissing-home-modules - -Wpartial-fields - -Wredundant-constraints library: source-dirs: src executables: hamming: main: Main.hs source-dirs: app ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - hamming tests: hamming-test: main: Spec.hs source-dirs: test ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - hamming