feat: implemented the program

This commit is contained in:
vegowotenks 2025-07-18 15:47:38 +02:00
commit cd5de79e24
22 changed files with 930 additions and 0 deletions

101
solvedoku.cabal Normal file
View file

@ -0,0 +1,101 @@
cabal-version: 2.2
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
name: solvedoku
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/solvedoku#readme>
homepage: https://github.com/githubuser/solvedoku#readme
bug-reports: https://github.com/githubuser/solvedoku/issues
author: Author name here
maintainer: example@example.com
copyright: 2025 Author name here
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/githubuser/solvedoku
library
exposed-modules:
Data.Enum.Util
Data.Functor.Representable
Data.ImplicitMultiMap
Graphics.Text.Box
Sudoku
Sudoku.Area
Sudoku.Field
Sudoku.Render
Sudoku.Solve
Sudoku.State
Sudoku.Triple
other-modules:
Paths_solvedoku
autogen-modules:
Paths_solvedoku
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
QuickCheck
, adjunctions
, array
, base >=4.7 && <5
, containers
, distributive
, megaparsec
, optparse-applicative
, text
default-language: Haskell2010
executable solvedoku-exe
main-is: Main.hs
other-modules:
Paths_solvedoku
autogen-modules:
Paths_solvedoku
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, adjunctions
, array
, base >=4.7 && <5
, containers
, distributive
, megaparsec
, optparse-applicative
, solvedoku
, text
default-language: Haskell2010
test-suite solvedoku-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_solvedoku
autogen-modules:
Paths_solvedoku
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, adjunctions
, array
, base >=4.7 && <5
, containers
, distributive
, megaparsec
, optparse-applicative
, solvedoku
, text
default-language: Haskell2010