@hackage interact0.2.0.0

instantly create REPL from any function

  • Installation

  • Dependencies (2)

  • Dependents (0)

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