packages feed

interact-0.1.0.0: interact.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: e748dd99c68b9226eb30badff724ac9fa45b88d6da96bd80cd0f7b4c8a715aa3

name:           interact
version:        0.1.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