name: singletons version: 2.4.1 -- Remember to bump version in the Makefile as well cabal-version: >= 1.10 synopsis: A framework for generating singleton types homepage: http://www.github.com/goldfirere/singletons category: Dependent Types author: Richard Eisenberg , Jan Stolarek maintainer: Richard Eisenberg , Jan Stolarek bug-reports: https://github.com/goldfirere/singletons/issues stability: experimental tested-with: GHC == 8.4.1 extra-source-files: README.md, CHANGES.md, tests/compile-and-dump/buildGoldenFiles.awk, tests/compile-and-dump/GradingClient/*.hs, tests/compile-and-dump/InsertionSort/*.hs, tests/compile-and-dump/Promote/*.hs, tests/compile-and-dump/Singletons/*.hs tests/compile-and-dump/GradingClient/*.ghc84.template, tests/compile-and-dump/InsertionSort/*.ghc84.template, tests/compile-and-dump/Promote/*.ghc84.template, tests/compile-and-dump/Singletons/*.ghc84.template license: BSD3 license-file: LICENSE build-type: Simple description: This library generates singleton types, promoted functions, and singleton functions using Template Haskell. It is useful for programmers who wish to use dependently typed programming techniques. The library was originally presented in /Dependently Typed Programming with Singletons/, published at the Haskell Symposium, 2012. () Version 1.0 and onwards works a lot harder to promote functions. See the paper published at Haskell Symposium, 2014: . source-repository this type: git location: https://github.com/goldfirere/singletons.git tag: v2.4.1 library hs-source-dirs: src build-depends: base >= 4.11 && < 4.12, mtl >= 2.2.1, ghc-boot-th, template-haskell, containers >= 0.5, th-desugar >= 1.8 && < 1.9, syb >= 0.4, text >= 1.2, transformers >= 0.5.2 default-language: Haskell2010 other-extensions: TemplateHaskell -- TemplateHaskell must be listed in cabal file to work with -- ghc7.8+ exposed-modules: Data.Singletons Data.Singletons.CustomStar Data.Singletons.TypeRepStar Data.Singletons.TH Data.Singletons.Prelude Data.Singletons.Prelude.Base Data.Singletons.Prelude.Bool Data.Singletons.Prelude.Either Data.Singletons.Prelude.Enum Data.Singletons.Prelude.Eq Data.Singletons.Prelude.Function Data.Singletons.Prelude.IsString Data.Singletons.Prelude.Ord Data.Singletons.Prelude.List Data.Singletons.Prelude.List.NonEmpty Data.Singletons.Prelude.Maybe Data.Singletons.Prelude.Num Data.Singletons.Prelude.Show Data.Singletons.Prelude.Tuple Data.Singletons.Prelude.Void Data.Promotion.Prelude Data.Promotion.TH Data.Promotion.Prelude.Base Data.Promotion.Prelude.Bool Data.Promotion.Prelude.Either Data.Promotion.Prelude.Eq Data.Promotion.Prelude.Function Data.Promotion.Prelude.IsString Data.Promotion.Prelude.Ord Data.Promotion.Prelude.Enum Data.Promotion.Prelude.List Data.Promotion.Prelude.List.NonEmpty Data.Promotion.Prelude.Maybe Data.Promotion.Prelude.Num Data.Promotion.Prelude.Show Data.Promotion.Prelude.Tuple Data.Promotion.Prelude.Void Data.Singletons.TypeLits Data.Singletons.Decide Data.Singletons.ShowSing Data.Singletons.Sigma Data.Singletons.SuppressUnusedWarnings other-modules: Data.Singletons.Deriving.Infer Data.Singletons.Deriving.Bounded Data.Singletons.Deriving.Enum Data.Singletons.Deriving.Ord Data.Singletons.Deriving.Show Data.Singletons.Internal Data.Singletons.Prelude.List.NonEmpty.Internal Data.Singletons.Promote Data.Singletons.Promote.Monad Data.Singletons.Promote.Eq Data.Singletons.Promote.Type Data.Singletons.Promote.Defun Data.Singletons.Util Data.Singletons.Partition Data.Singletons.Prelude.Instances Data.Singletons.Names Data.Singletons.Single.Monad Data.Singletons.Single.Type Data.Singletons.Single.Eq Data.Singletons.Single.Data Data.Singletons.Single.Fixity Data.Singletons.Single Data.Singletons.TypeLits.Internal Data.Singletons.Syntax ghc-options: -Wall -Wno-redundant-constraints test-suite singletons-test-suite type: exitcode-stdio-1.0 hs-source-dirs: src, tests ghc-options: -Wall default-language: Haskell2010 main-is: SingletonsTestSuite.hs other-modules: SingletonsTestSuiteUtils build-depends: base >= 4.11 && < 4.12, filepath >= 1.3, process >= 1.1, singletons, tasty >= 0.6, tasty-golden >= 2.2, directory >= 1