Haskeline provides a user interface for line input in command-line programs. This library is similar in purpose to readline, but since it is written in Haskell it is (hopefully) more easily used in other Haskell programs.
Haskeline runs both on POSIX-compatible systems and on Windows.
This is free and open source software.
Key Features
- Provides a rich line editing interface.
- A ~/.haskeline file allows customization of preferences and custom key bindings.
- Runs on POSIX-compatible systems, using the terminfo library to support non-ANSI terminals.
- Runs on Windows using MinGW.
- Supports Unicode cross-platform.
- History recall and incremental search.
- Custom tab completion functions which may run in an arbitrary monad.
Website: github.com/haskell/haskeline
Support:
Developer: Judah Jacobson
License: BSD 3-Clause “New” or “Revised” License
haskeline is written in Haskell. Learn Haskell with our recommended free books and free tutorials.
Related Software
| Haskell TUI Frameworks | |
|---|---|
| brick | Terminal user interface (TUI) programming toolkit |
| vty | Provides a high-level interface for doing terminal I/O |
| haskeline | User interface for line input in command-line programs |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

