gdiff-th 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+28/−26 lines, 3 filesdep +hdis86dep +language-ecmascriptdep −DebugTraceHelpersdep −HUnitdep −QuickCheckdep ~gdiffdep ~mtl
Dependencies added: hdis86, language-ecmascript
Dependencies removed: DebugTraceHelpers, HUnit, QuickCheck, checkers, specialize-th, test-framework, test-framework-hunit, test-framework-quickcheck2, th-instances, tuple, type-sub-th, universe-th
Dependency ranges changed: gdiff, mtl
Files
- gdiff-th.cabal +13/−18
- src/Data/Generic/Diff/TH.hs +10/−7
- tests/Main.hs +5/−1
gdiff-th.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version: 0.1.0.0+Version: 0.1.0.1 -- A short (one-line) description of the package. Synopsis: Generate gdiff GADTs and Instances.@@ -89,21 +89,16 @@ Hs-Source-Dirs: src, tests type: exitcode-stdio-1.0 main-is: Main.hs- build-depends: - DebugTraceHelpers >= 0.12,- QuickCheck >= 2.4.1.1,- HUnit >= 1.2.4.2,- test-framework-quickcheck2 >= 0.2.10,- test-framework-hunit >= 0.2.7,- test-framework >= 0.4.1.1,- checkers >= 0.2.8,- mtl >= 2.0.1.0,- th-instances >= 0.1.0.14,- specialize-th >= 0.0.0.8,- universe-th >= 0.0.0.6,- type-sub-th >= 0.1.0.5,- gdiff >= 1.0,- tuple >= 0.2.0.1,- pointless-haskell == 0.0.*,- containers == 0.5.*+ build-depends: base >= 4.0 && <= 6.0,+ template-haskell == 2.8.*,+ gdiff == 1.0.*,+ th-expand-syns == 0.3.*,+ uniplate == 1.6.*,+ lens == 3.0.*,+ pointless-haskell == 0.0.*,+ containers == 0.5.*,+ mtl == 2.1.*,+ th-expand-syns == 0.3.*,+ language-ecmascript == 0.*,+ hdis86 == 0.*
src/Data/Generic/Diff/TH.hs view
@@ -49,12 +49,13 @@ -- End -> line -- @ ----- Running the main function above would result in the following output--- @---:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: ... B + 42 - 9 ... ... ... ... ... ... ... ... ... ... ... --- @--- Except with pretty colors :).-module Data.Generic.Diff.TH (+-- Running the main function above would result in the following output+--+-- >>> main+-- :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: ... B + 42 - 9 ... ... ... ... ... ... ... ... ... ... ... +--+-- Except with pretty colors :).+module Data.Generic.Diff.TH( -- * Main Creation Function makeGDiff, -- * Customizable Creation@@ -62,5 +63,7 @@ defaultFamSuffix, defaultConstructorRenamer, defaultPrimitives, - ConstructorRenamer) where+ ConstructorRenamer+ ) where+ import Data.Generic.Diff.TH.Internal
tests/Main.hs view
@@ -5,4 +5,8 @@ import Data.Generic.Diff () import Instances () -+-- great test huh?+-- Mostly I am making sure it is able to build "something" on large+-- expressions+-- As soon as I discover "a" bug, I will figure out how to test the TH code for real+main = print "hey"