CHANGELOG: 1.0 edits

This commit is contained in:
Jonathan Daugherty 2022-08-08 14:55:06 -07:00
parent bf565660f4
commit e3b86bdd84

View File

@ -18,7 +18,9 @@ with each one.
* Event handlers no longer take and return an explicit state value;
an event handler that formerly had the type `handler :: s ->
BrickEvent n e -> EventM n (Next s)` now has type `handler ::
BrickEvent n e -> EventM n s ()`.
BrickEvent n e -> EventM n s ()`. This also affected all of
Brick's built-in event handler functions for `List`, `Editor`,
etc.
* `EventM` can be used with the `MonadState` API from `mtl` as well
as with the very nice lens combinators in `microlens-mtl`.
* The `Next` type was removed.