interact-0.2.0.0: interact.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: bb6a95dd5b3a368a73376daef53e8c118da2814ceeb01a4ea04afd7bbf80c90d
name: interact
version: 0.2.0.0
synopsis: instantly create REPL from any function
description: This module provides functions to create interactive REPLs:
.
- stateless REPL from a single argument functions
- REPL with state from plain state function or with State monad
- REPL-fold from two-arguments functions, with the accumulator in the first argument
.
Each line you enter is 'read' into the argument type and sent to the function, with the result printed
category: System, REPL
homepage: https://github.com/epoberezkin/interact#readme
author: Evgeny Poberezkin
maintainer: evgeny@poberezkin.com
copyright: 2020 Evgeny Poberezkin
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
library
exposed-modules:
System.IO.Interact
other-modules:
Paths_interact
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns
build-depends:
base >=4.7 && <5
, mtl ==2.2.*
default-language: Haskell2010
test-suite interact-test
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Paths_interact
hs-source-dirs:
tests
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns
build-depends:
base >=4.7 && <5
, bytestring ==0.10.*
, hspec ==2.7.*
, interact
, main-tester ==0.2.*
, mtl ==2.2.*
, silently ==1.2.*
default-language: Haskell2010