table-layout 0.8.0.1 → 0.8.0.2
raw patch · 2 files changed
+8/−6 lines, 2 filesdep ~QuickCheckdep ~base
Dependency ranges changed: QuickCheck, base
Files
- src/Text/Layout/Table.hs +3/−1
- table-layout.cabal +5/−5
src/Text/Layout/Table.hs view
@@ -387,9 +387,11 @@ -- | Produce an 'AlignInfo' that is wide enough to hold inputs of both given -- 'AlignInfo's.+instance Semigroup AlignInfo where+ AlignInfo ll lr <> AlignInfo rl rr = AlignInfo (max ll rl) (max lr rr)+ instance Monoid AlignInfo where mempty = AlignInfo 0 0- mappend (AlignInfo ll lr) (AlignInfo rl rr) = AlignInfo (max ll rl) (max lr rr) -- | Derive the 'ColModInfo' by using layout specifications and the actual cells -- of a column.
table-layout.cabal view
@@ -6,7 +6,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.8.0.1+version: 0.8.0.2 synopsis: Layout text as grid or table. @@ -76,7 +76,7 @@ MultiWayIf -- Other library packages from which modules are imported.- build-depends: base >=4.8 && <4.11,+ build-depends: base >=4.8 && <4.12, data-default-class >=0.1.1 && < 0.2, data-default-instances-base ==0.1.* @@ -87,7 +87,7 @@ executable table-layout-test-styles main-is: Test.hs- build-depends: base >=4.8 && <4.11,+ build-depends: base >=4.8 && <4.12, data-default-class >=0.1.1 && < 0.2, data-default-instances-base ==0.1.* hs-source-dirs: src@@ -111,8 +111,8 @@ type: exitcode-stdio-1.0 hs-source-dirs: test-suite, src main-is: Spec.hs- build-depends: base >=4.8 && <4.11,- QuickCheck >=2.8 && < 2.11,+ build-depends: base >=4.8 && <4.12,+ QuickCheck >=2.8 && < 2.12, HUnit >=1.3, data-default-class >=0.1.1 && < 0.2, data-default-instances-base ==0.1.*,