simple-prompt: Simple commandline text prompt functions

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

The library provides prompt functions for reading user input: for example prompt returns the input given, promptEnter expects only Enter, and yesNo asks for confirmation.


[Skip to Readme]

Properties

Versions 0.1.0, 0.2.0, 0.2.0.1, 0.2.1, 0.2.1, 0.2.2, 0.2.3
Change log ChangeLog.md
Dependencies base (<5), exceptions, extra, haskeline, time [details]
License BSD-3-Clause
Copyright 2023 Jens Petersen <juhpetersen@gmail.com>
Author Jens Petersen <juhpetersen@gmail.com>
Maintainer Jens Petersen <juhpetersen@gmail.com>
Category System
Home page https://github.com/juhp/simple-prompt
Bug tracker https://github.com/juhp/simple-prompt/issues
Source repo head: git clone https://github.com/juhp/simple-prompt.git
Uploaded by JensPetersen at 2023-08-09T16:14:37Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for simple-prompt-0.2.1

[back to package description]

simple-prompt

A simple commandline text prompt library for user input.

The SimplePrompt module provides:

It uses haskeline to read the input.

The SimplePrompt.Internal module provides lower-level access to functional haskeline InputT monad transformer-based prompt functions: