cabal-version: 2.2
name: fused-effects-readline
version: 0.1.0.0
synopsis: A readline-like effect and carrier for fused-effects
description: A readline-like effect and carrier for fused-effects, using haskeline under the hood
homepage: https://github.com/fused-effects/fused-effects-readline
bug-reports: https://github.com/fused-effects/fused-effects-readline/issues
license: BSD-3-Clause
license-file: LICENSE
author: Rob Rix
maintainer: rob.rix@me.com
copyright: 2019-2020 Rob Rix
category: Development
extra-source-files:
README.md
CHANGELOG.md
tested-with:
GHC == 8.6.5
GHC == 8.8.3
GHC == 8.10.1
common common
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missed-specialisations
-Wno-missing-import-lists
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-name-shadowing
-Wno-safe
-Wno-unsafe
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
if impl(ghc >= 8.8)
ghc-options: -Wno-missing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
library
import: common
hs-source-dirs: src
exposed-modules:
Control.Carrier.Readline.Haskeline
Control.Effect.Readline
build-depends:
, base >= 4.12 && < 5
, directory ^>= 1.3
, filepath ^>= 1.4
, fused-effects ^>= 1.1
, haskeline >= 0.7 && < 0.9
, prettyprinter >= 1.5 && <1.7
, prettyprinter-ansi-terminal ^>= 1.1
, terminal-size ^>= 0.3
, transformers >= 0.4 && < 0.6
if impl(ghc >= 8.10)
build-depends:
, exceptions ^>= 0.10
test-suite test
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
build-depends:
base
, fused-effects-readline
source-repository head
type: git
location: https://github.com/fused-effects/fused-effects-readline