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 [RSS] [faq],
Change log
Dependencies base (>=4.7 && <5), mtl (==2.2.*) [details]
License MIT
Copyright 2020 Evgeny Poberezkin
Author Evgeny Poberezkin
Category System, REPL
Home page
Uploaded by epoberezkin at 2020-06-21T18:29:42Z
Distributions NixOS:
Downloads 189 total (11 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-21 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for interact-

[back to package description]


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.