Releases: pjones/byline
v1.1.2
Release 1.1.1
Update dependencies to their latest version and build with GHC 9.0.1
Version 1.0.0.0
This version is the result of a major refactoring of the code in order
to produce an MTL-compatible library.
-
New MTL-style class:
MonadByline
-
Proper monad transformer:
BylineT
-
Most of the library is under a single import:
Byline
-
Added a
ToStylizedText
class to enable using custom types with
functions likemenu
. -
New
Byline.Exit.die
function to exit the current process with a
stylized error message. Thanks to theToStylizedText
class it's
easy to exit with custom error types. -
The
Report
type and associated functions were superfluous and
therefore removed. (Consider using the newdie
andwarn
functions inByline.Exit
.) -
Menus now use
NonEmpty
to represent items and therefore the menu
Choice
type has been simplified, removing theNoItems
constructor. -
Fixed a bug where
Stylized Text
was not rendered when using one
of theask*
functions (#1). -
Proper encoding of escape sequences so Haskeline doesn't
print garbage on Windows. -
Added support for RGB terminals
-
Added an implementation of 'MonadByline' that uses simulated user
input to test your Byline code.