packages feed

rainbox 0.18.0.8 → 0.18.0.10

raw patch · 2 files changed

+8/−6 lines, 2 filesdep +lens-simpledep −microlens-thPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: lens-simple

Dependencies removed: microlens-th

API changes (from Hackage documentation)

- Rainbox: background :: Lens' Cell Radiant
+ Rainbox: background :: Functor f => (Radiant -> f Radiant) -> Cell -> f Cell
- Rainbox: horizontal :: Lens' Cell (Alignment Horizontal)
+ Rainbox: horizontal :: Functor f => (Alignment Horizontal -> f (Alignment Horizontal)) -> Cell -> f Cell
- Rainbox: rows :: Lens' Cell (Seq (Seq (Chunk Text)))
+ Rainbox: rows :: Functor f => (Seq (Seq (Chunk Text)) -> f (Seq (Seq (Chunk Text)))) -> Cell -> f Cell
- Rainbox: vertical :: Lens' Cell (Alignment Vertical)
+ Rainbox: vertical :: Functor f => (Alignment Vertical -> f (Alignment Vertical)) -> Cell -> f Cell
- Rainbox.Core: background :: Lens' Cell Radiant
+ Rainbox.Core: background :: Functor f => (Radiant -> f Radiant) -> Cell -> f Cell
- Rainbox.Core: horizontal :: Lens' Cell (Alignment Horizontal)
+ Rainbox.Core: horizontal :: Functor f => (Alignment Horizontal -> f (Alignment Horizontal)) -> Cell -> f Cell
- Rainbox.Core: rows :: Lens' Cell (Seq (Seq (Chunk Text)))
+ Rainbox.Core: rows :: Functor f => (Seq (Seq (Chunk Text)) -> f (Seq (Seq (Chunk Text)))) -> Cell -> f Cell
- Rainbox.Core: vertical :: Lens' Cell (Alignment Vertical)
+ Rainbox.Core: vertical :: Functor f => (Alignment Vertical -> f (Alignment Vertical)) -> Cell -> f Cell

Files

lib/Rainbox/Core.hs view
@@ -5,6 +5,8 @@ {-# LANGUAGE DeriveFoldable #-} {-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE TemplateHaskell #-}+-- lens-simple makeLenses will not make type signatures+{-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# OPTIONS_HADDOCK not-home #-} -- | Contains the innards of 'Rainbox'.  You shouldn't need anything -- in here.  Some functions here are partial or have undefined results@@ -22,7 +24,7 @@ import           Data.Text (Text) import qualified Data.Text as X import qualified Data.Traversable as T-import           Lens.Micro.TH (makeLenses)+import           Lens.Simple (makeLenses) import           Rainbow ( Chunk , Radiant , chunk , back) import           Rainbow.Types (Chunk (_yarn)) 
rainbox.cabal view
@@ -3,11 +3,11 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2016-04-11 16:47:59.745199 EDT+-- Generated on: 2016-07-09 15:08:49.696348 EDT -- Cartel library version: 0.14.2.8  name: rainbox-version: 0.18.0.8+version: 0.18.0.10 cabal-version: >= 1.18 license: BSD3 license-file: LICENSE@@ -49,7 +49,7 @@     , bytestring >= 0.10     , containers >= 0.5.5     , text >= 0.11.3.1-    , microlens-th >= 0.3.0.2+    , lens-simple >= 0.1.0   other-extensions:     TemplateHaskell @@ -65,7 +65,7 @@     , bytestring >= 0.10     , containers >= 0.5.5     , text >= 0.11.3.1-    , microlens-th >= 0.3.0.2+    , lens-simple >= 0.1.0     , tasty >= 0.10.1     , tasty-quickcheck >= 0.8.1     , QuickCheck >= 2.8.2@@ -93,7 +93,7 @@     , bytestring >= 0.10     , containers >= 0.5.5     , text >= 0.11.3.1-    , microlens-th >= 0.3.0.2+    , lens-simple >= 0.1.0     , tasty >= 0.10.1     , tasty-quickcheck >= 0.8.1     , QuickCheck >= 2.8.2