cabal-version: 2.2 name: list-singleton version: 2.0.0.2 synopsis: Easily and clearly create lists with only one element in them. description: Warning: This package is not maintained anymore. As of @base-4.15.0.0@, both [@Data.List.singleton@](https://hackage.haskell.org/package/base-4.15.0.0/docs/Data-List.html#v:singleton) and [@Data.List.NonEmpty.singleton@](https://hackage.haskell.org/package/base-4.15.0.0/docs/Data-List-NonEmpty.html#v:singleton) are available. . The @list-singleton@ package allows you to easily and clearly create lists with only one element in them, which are typically called "singleton lists" or simply "singletons". (Not to be confused with the @[singletons](https://hackage.haskell.org/package/singletons)@ package!) . With any luck this library will be included in future versions of the @[base](https://hackage.haskell.org/package/base)@ package. See this mailing list thread for an extended discussion: . build-type: Simple category: Data extra-source-files: CHANGELOG.markdown README.markdown license-file: LICENSE.markdown license: MIT maintainer: Taylor Fausak source-repository head location: https://github.com/tfausak/list-singleton type: git flag pedantic default: False description: Enables @-Werror@, which turns warnings into errors. manual: True common library build-depends: , base >= 4.13.0 && < 4.18 default-language: Haskell2010 ghc-options: -Weverything -Wno-implicit-prelude -Wno-missing-exported-signatures -Wno-safe if flag(pedantic) ghc-options: -Werror if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode library import: library exposed-modules: Data.List.Singleton Data.List.NonEmpty.Singleton hs-source-dirs: source/library