brick 0.58 → 0.58.1
raw patch · 4 files changed
+8/−11 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- README.md +1/−0
- brick.cabal +1/−1
- tests/List.hs +0/−10
CHANGELOG.md view
@@ -2,6 +2,12 @@ Brick changelog --------------- +0.58.1+------++Bug fixes:+ * Removed a defunct failing test from the List test suite+ 0.58 ----
README.md view
@@ -68,6 +68,7 @@ | [`git-brunch`](https://github.com/andys8/git-brunch) | A git branch checkout utility | | [`hascard`](https://github.com/Yvee1/hascard) | A program for reviewing "flash card" notes | | [`ttyme`](https://github.com/evuez/ttyme) | A TUI for [Harvest](https://www.getharvest.com/) |+| [`ghcup`](https://www.haskell.org/ghcup/) | A TUI for `ghcup`, the Haskell toolchain manager | These third-party packages also extend `brick`:
brick.cabal view
@@ -1,5 +1,5 @@ name: brick-version: 0.58+version: 0.58.1 synopsis: A declarative terminal user interface library description: Write terminal user interfaces (TUIs) painlessly with 'brick'! You
tests/List.hs view
@@ -181,16 +181,6 @@ (find ((== Just i') . (^. listSelectedL)) seeks >>= listSelectedElement) == Just (i', a) --- Find will never decrease the selected index. Note that we don't--- need to handle the 'Nothing' case because ∀a. Nothing < Just a.-prop_findByNonDecreasing :: (Eq a) => [ListOp a] -> List n a -> a -> Bool-prop_findByNonDecreasing ops l a =- let- l' = applyListOps op ops l- l'' = listFindBy (== a) l'- in- l' ^. listSelectedL <= l'' ^. listSelectedL- -- inserting then deleting always yields a list with the original elems prop_insertRemove :: (Eq a) => Int -> a -> List n a -> Bool prop_insertRemove i a l =