packages feed

brick-list-skip 0.1.1.13 → 0.1.1.14

raw patch · 3 files changed

+8/−3 lines, 3 filesdep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: containers

API changes (from Hackage documentation)

- Brick.Widgets.List.Skip: class Searchable (t :: * -> *)
+ Brick.Widgets.List.Skip: class Searchable (t :: Type -> Type)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for brick-list-skip +## 0.1.1.14 -- 2024-10-12++* Bump upper version boundary of containers+ ## 0.1.1.13 -- 2024-07-06  * Bump upper version boundary of brick
brick-list-skip.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: brick-list-skip-version: 0.1.1.13+version: 0.1.1.14  synopsis: Skip a certain kind of items when moving in brick list @@ -50,7 +50,7 @@     import: all     exposed-modules: Brick.Widgets.List.Skip     build-depends:-        containers >=0.6.4 && <0.7+        containers >=0.6.4 && <0.8     hs-source-dirs: src  executable brick-list-skip
src/Brick/Widgets/List/Skip.hs view
@@ -21,6 +21,7 @@ import Prelude hiding (take, drop) -- third party packages import Lens.Micro+import Data.Kind (Type) import qualified Data.Vector as V import Data.Vector hiding (take, drop, modify) import qualified Data.Sequence as S@@ -244,7 +245,7 @@   Just idx -> l & L.listSelectedL ?~ idx  -- | Functions for searching elements.-class Searchable (t :: * -> *) where+class Searchable (t :: Type -> Type) where   -- | Get the head and the rest   viewHead :: t a -> Maybe (a, t a)   -- | Get the last element and the rest