interact: instantly create REPL from any function

[ library, mit, repl, system ] [ Propose Tags ]

This module provides functions to create interactive REPLs:

Each line you enter is read into the argument type and sent to the function, with the result printed


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), mtl (==2.2.*) [details]
License MIT
Copyright 2020 Evgeny Poberezkin
Author Evgeny Poberezkin
Maintainer evgeny@poberezkin.com
Category System, REPL
Home page https://github.com/epoberezkin/interact#readme
Uploaded by epoberezkin at 2020-06-19T13:10:30Z
Distributions NixOS:0.2.0.0
Downloads 112 total (5 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-06-19 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for interact-0.1.0.0

[back to package description]

interact

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

See docs and usage examples on hackage: http://hackage.haskell.org/package/interact