cabal-version: 3.0 name: worksheets maintainer: Julien Moutinho bug-reports: https://radicle.sourcephile.fr/nodes/radicle-mermet.sourcephile.fr/rad:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX/issues homepage: https://radicle.sourcephile.fr/nodes/radicle-mermet.sourcephile.fr/rad:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX author: Julien Moutinho copyright: Julien Moutinho -- PVP: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.0.0.20250617 stability: experimental category: Worksheets synopsis: Worksheets description: Worksheets build-type: Simple tested-with: GHC ==9.6.6 extra-doc-files: extra-tmp-files: data-dir: data source-repository head type: git location: https://radicle-mermet.sourcephile.fr/XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.git source-repository head type: rad location: rad://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX common haskell default-language: Haskell2010 default-extensions: BangPatterns BlockArguments DataKinds DefaultSignatures DeriveFunctor DeriveGeneric DerivingStrategies DerivingVia FlexibleContexts FlexibleInstances GADTSyntax GeneralizedNewtypeDeriving ImportQualifiedPost LambdaCase MultiParamTypeClasses NamedFieldPuns NoImplicitPrelude OverloadedStrings PartialTypeSignatures PatternSynonyms RecordWildCards RoleAnnotations ScopedTypeVariables TupleSections TypeApplications TypeFamilies TypeOperators ViewPatterns ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-partial-fields -fprint-potential-instances -Wno-missing-signatures -Wno-unused-do-bind -Wno-partial-type-signatures common library-deps import: build-depends: , aeson >=2.1.2.1 , anki , array , attoparsec , attoparsec-aeson , base >=4.10 && <5 , blaze-builder , blaze-html , blaze-markup , bytestring , cassava , containers , data-default , direct-sqlite , filepath , generic-data , ipa , megaparsec , parser-combinators , pretty-simple , radix-tree , safe-decimal , scientific , split , sqlite-simple , text >=2.1 , text-short , transformers , validity , vector -- , large-records -- , large-generics -- , symantic-base --, pandoc-types --, pandoc library import: haskell, library-deps hs-source-dirs: src autogen-modules: Paths_worksheets exposed-modules: Language Language.Chinese Language.Chinese.Pinyin Language.English Language.French Language.Pronunciation Rosetta.Reading Rosetta.Writing Wiktionary Worksheets.Utils.Char Worksheets.Utils.Generics Worksheets.Utils.HTML Worksheets.Utils.IPA Worksheets.Utils.JSON Worksheets.Utils.Paper Worksheets.Utils.Prelude Worksheets.Utils.Probability Worksheets.Utils.SQL Worksheets.Utils.TypeDefault other-modules: Paths_worksheets build-depends: base >=4.10 && <5 common anki-deps import: build-depends: , aeson >=2.1.2.1 , array , attoparsec , attoparsec-aeson , base >=4.10 && <5 , bytestring , containers , direct-sqlite , directory , filepath , ipa , pretty-simple , python-pickle , scientific , sqlite-simple , text >=2.1 , text-short , time , transformers library anki import: haskell, anki-deps hs-source-dirs: libs/anki/src exposed-modules: Anki Anki.Fields Anki.Tables.Cards Anki.Tables.Collections Anki.Tables.Configs Anki.Tables.DeckConfigs Anki.Tables.Decks Anki.Tables.Fields Anki.Tables.Graves Anki.Tables.Notes Anki.Tables.Notetypes Anki.Tables.Profiles Anki.Tables.ReviewLogs Anki.Tables.Tags Anki.Tables.Templates Anki.Utils.Prelude Anki.Utils.SQL test-suite worksheets-tests import: haskell, library-deps, anki-deps type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: Spec.hs -- ExplanationNote: manual listing gives more control -- especially to quickly comment-out some tests. -- build-tool-depends: sydtest-discover:sydtest-discover ghc-options: -threaded -rtsopts -with-rtsopts=-N autogen-modules: Paths_worksheets other-modules: Language.ChineseSpec Language.EnglishSpec Language.FrenchSpec Paths_worksheets Rosetta.ReadingSpec Rosetta.WritingSpec Utils.Pronunciation Utils.Tests WiktionarySpec build-depends: , filepath , genvalidity , genvalidity-containers , genvalidity-sydtest , genvalidity-text , genvalidity-time , ipa , pretty-simple , relude , sydtest >=0.19 , validity , validity-containers , validity-text , worksheets --executable worksheets -- import: haskell, library-deps -- autogen-modules: Paths_worksheets -- other-modules: Paths_worksheets -- build-depends: -- , bytestring -- , filepath -- , optparse-applicative -- , pretty-simple -- , relude -- , text -- -- hs-source-dirs: app -- main-is: Main.hs