simple-prompt-0.2.2: simple-prompt.cabal
name: simple-prompt
version: 0.2.2
synopsis: Simple commandline text prompt functions
description:
The library provides prompt functions for reading user input:
for example `prompt` returns the input given,
`promptEnter` expects only Enter,
and `yesNo` asks for confirmation.
license: BSD3
license-file: LICENSE
author: Jens Petersen <juhpetersen@gmail.com>
maintainer: Jens Petersen <juhpetersen@gmail.com>
copyright: 2023 Jens Petersen <juhpetersen@gmail.com>
category: System
homepage: https://github.com/juhp/simple-prompt
bug-reports: https://github.com/juhp/simple-prompt/issues
build-type: Simple
extra-doc-files: README.md
ChangeLog.md
extra-source-files: src/monadconstraint.h
cabal-version: 2.0
tested-with: GHC == 8.6.5
|| == 8.8.4
|| == 8.10.7
|| == 9.0.2
|| == 9.2.8
|| == 9.4.7
|| == 9.6.3
source-repository head
type: git
location: https://github.com/juhp/simple-prompt.git
library
build-depends: base < 5,
exceptions,
extra,
haskeline > 0.8,
time
default-language: Haskell2010
exposed-modules: SimplePrompt
SimplePrompt.Internal
hs-source-dirs: src
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages