6 | ||| A basic read-eval-print loop, maintaining a state
7 | |||
8 | ||| @ state the input state
9 | ||| @ prompt the prompt to show
10 | ||| @ onInput the function to run on reading input, returning a String to
11 | ||| output and a new state. Returns Nothing if the repl should exit
12 | export
29 | ||| A basic read-eval-print loop
30 | |||
31 | ||| @ prompt the prompt to show
32 | ||| @ onInput the function to run on reading input, returning a String to
33 | ||| output
34 | export