byline v1.1.0.1 Release Notes
Release Date: 2020-10-27 // over 3 years ago-
No data yet ๐
You can check the official repo
Previous changes from v1.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.