packages feed

brick 0.41.1 → 0.41.2

raw patch · 3 files changed

+9/−2 lines, 3 filesdep ~stmPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: stm

API changes (from Hackage documentation)

- Brick.BorderMap: eBottomL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.BorderMap: eBottomL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.BorderMap: eLeftL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.BorderMap: eLeftL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.BorderMap: eRightL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.BorderMap: eRightL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.BorderMap: eTopL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.BorderMap: eTopL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.Types: bordersL :: forall n_aEm0. Lens' (Result n_aEm0) (BorderMap DynBorder)
+ Brick.Types: bordersL :: forall n_aEmz. Lens' (Result n_aEmz) (BorderMap DynBorder)
- Brick.Types: cursorLocationL :: forall n_aD28. Lens' (CursorLocation n_aD28) Location
+ Brick.Types: cursorLocationL :: forall n_aD2H. Lens' (CursorLocation n_aD2H) Location
- Brick.Types: cursorLocationNameL :: forall n_aD28 n_aEXY. Lens (CursorLocation n_aD28) (CursorLocation n_aEXY) (Maybe n_aD28) (Maybe n_aEXY)
+ Brick.Types: cursorLocationNameL :: forall n_aD2H n_aEYx. Lens (CursorLocation n_aD2H) (CursorLocation n_aEYx) (Maybe n_aD2H) (Maybe n_aEYx)
- Brick.Types: cursorsL :: forall n_aEm0. Lens' (Result n_aEm0) [CursorLocation n_aEm0]
+ Brick.Types: cursorsL :: forall n_aEmz. Lens' (Result n_aEmz) [CursorLocation n_aEmz]
- Brick.Types: eBottomL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.Types: eBottomL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.Types: eLeftL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.Types: eLeftL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.Types: eRightL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.Types: eRightL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.Types: eTopL :: forall a_aicm. Lens' (Edges a_aicm) a_aicm
+ Brick.Types: eTopL :: forall a_aigY. Lens' (Edges a_aigY) a_aigY
- Brick.Types: extentsL :: forall n_aEm0. Lens' (Result n_aEm0) [Extent n_aEm0]
+ Brick.Types: extentsL :: forall n_aEmz. Lens' (Result n_aEmz) [Extent n_aEmz]
- Brick.Types: imageL :: forall n_aEm0. Lens' (Result n_aEm0) Image
+ Brick.Types: imageL :: forall n_aEmz. Lens' (Result n_aEmz) Image
- Brick.Types: visibilityRequestsL :: forall n_aEm0. Lens' (Result n_aEm0) [VisibilityRequest]
+ Brick.Types: visibilityRequestsL :: forall n_aEmz. Lens' (Result n_aEmz) [VisibilityRequest]
- Brick.Widgets.Dialog: dialogButtonsL :: forall a_a1cHh a_a1cHY. Lens (Dialog a_a1cHh) (Dialog a_a1cHY) [(String, a_a1cHh)] [(String, a_a1cHY)]
+ Brick.Widgets.Dialog: dialogButtonsL :: forall a_a1cHQ a_a1cIx. Lens (Dialog a_a1cHQ) (Dialog a_a1cIx) [(String, a_a1cHQ)] [(String, a_a1cIx)]
- Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a1cHh. Lens' (Dialog a_a1cHh) (Maybe Int)
+ Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a1cHQ. Lens' (Dialog a_a1cHQ) (Maybe Int)
- Brick.Widgets.Dialog: dialogTitleL :: forall a_a1cHh. Lens' (Dialog a_a1cHh) (Maybe String)
+ Brick.Widgets.Dialog: dialogTitleL :: forall a_a1cHQ. Lens' (Dialog a_a1cHQ) (Maybe String)
- Brick.Widgets.Dialog: dialogWidthL :: forall a_a1cHh. Lens' (Dialog a_a1cHh) Int
+ Brick.Widgets.Dialog: dialogWidthL :: forall a_a1cHQ. Lens' (Dialog a_a1cHQ) Int
- Brick.Widgets.Edit: editContentsL :: forall t_a18kc n_a18kd t_a18kW. Lens (Editor t_a18kc n_a18kd) (Editor t_a18kW n_a18kd) (TextZipper t_a18kc) (TextZipper t_a18kW)
+ Brick.Widgets.Edit: editContentsL :: forall t_a18kL n_a18kM t_a18lv. Lens (Editor t_a18kL n_a18kM) (Editor t_a18lv n_a18kM) (TextZipper t_a18kL) (TextZipper t_a18lv)
- Brick.Widgets.List: listElementsL :: forall n_a1hio e_a1hip e_a1huT. Lens (List n_a1hio e_a1hip) (List n_a1hio e_a1huT) (Vector e_a1hip) (Vector e_a1huT)
+ Brick.Widgets.List: listElementsL :: forall n_a1hiX e_a1hiY e_a1hvs. Lens (List n_a1hiX e_a1hiY) (List n_a1hiX e_a1hvs) (Vector e_a1hiY) (Vector e_a1hvs)
- Brick.Widgets.List: listItemHeightL :: forall n_a1hio e_a1hip. Lens' (List n_a1hio e_a1hip) Int
+ Brick.Widgets.List: listItemHeightL :: forall n_a1hiX e_a1hiY. Lens' (List n_a1hiX e_a1hiY) Int
- Brick.Widgets.List: listNameL :: forall n_a1hio e_a1hip n_a1huU. Lens (List n_a1hio e_a1hip) (List n_a1huU e_a1hip) n_a1hio n_a1huU
+ Brick.Widgets.List: listNameL :: forall n_a1hiX e_a1hiY n_a1hvt. Lens (List n_a1hiX e_a1hiY) (List n_a1hvt e_a1hiY) n_a1hiX n_a1hvt
- Brick.Widgets.List: listSelectedL :: forall n_a1hio e_a1hip. Lens' (List n_a1hio e_a1hip) (Maybe Int)
+ Brick.Widgets.List: listSelectedL :: forall n_a1hiX e_a1hiY. Lens' (List n_a1hiX e_a1hiY) (Maybe Int)

Files

CHANGELOG.md view
@@ -2,6 +2,13 @@ Brick changelog --------------- +0.41.2+------++Bug fixes:+ * Support STM 2.5 by allowing for `Natural` argument to `newTBQueue`+   (thanks @osa1)+ 0.41.1 ------ 
brick.cabal view
@@ -1,5 +1,5 @@ name:                brick-version:             0.41.1+version:             0.41.2 synopsis:            A declarative terminal user interface library description:   Write terminal applications painlessly with 'brick'! You write an
src/Brick/BChan.hs view
@@ -20,7 +20,7 @@ -- |Builds and returns a new instance of @BChan@. newBChan :: Int   -- ^ maximum number of elements the channel can hold           -> IO (BChan a)-newBChan size = atomically $ BChan <$> newTBQueue size+newBChan size = atomically $ BChan <$> newTBQueue (fromIntegral size)  -- |Writes a value to a @BChan@; blocks if the channel is full. writeBChan :: BChan a -> a -> IO ()