packages feed

th-lift-instances 0.1.2 → 0.1.3

raw patch · 4 files changed

+24/−2 lines, 4 filessetup-changedPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Setup.hs view
@@ -47,7 +47,7 @@       modifyIORef depsVar $ appendDL . singletonDL $ depsEntry (buildInfo exe) exelbi suitelbi     deps <- fmap ($ []) $ readIORef depsVar -    rewriteFile (map fixchar $ dir </> "Build_" ++ testName suite ++ ".hs") $ unlines +    rewriteFile (dir </> "Build_" ++ map fixchar (testName suite) ++ ".hs") $ unlines       [ "module Build_" ++ map fixchar (testName suite) ++ " where"       , "getDistDir :: FilePath"       , "getDistDir = " ++ show distDir
+ tests/Data.hs view
@@ -0,0 +1,19 @@+module Data where++import Data.Tree+import Data.Word++mapdata :: [(Int, Int)]+mapdata = [(10, 20), (3,13), (2242,234), (324, 543)]++setdata :: [Int]+setdata = [1,2,3,4,1,2,6,1,4367,832,23,56]++treedata :: Tree Int+treedata = Node 1 [Node 2 [], Node 5 [], Node 6 [Node 7 [], Node 8 []]]++textdata :: String+textdata = "Some text! Hello world!"++bytedata :: [Word8]+bytedata = map fromIntegral setdata
tests/Main.hs view
@@ -110,6 +110,7 @@ prop_storable_vector :: Bool prop_storable_vector = $(lift $ Vector.Storable.fromList bytedata) == Vector.Storable.fromList bytedata +return [] main :: IO () main = do   success <- $quickCheckAll
th-lift-instances.cabal view
@@ -1,5 +1,5 @@ name:          th-lift-instances-version:       0.1.2+version:       0.1.3 license:       BSD3 cabal-version: >= 1.10 license-file:  LICENSE@@ -44,6 +44,8 @@ test-suite tests   type:    exitcode-stdio-1.0   main-is: Main.hs+  other-modules:+    Data   default-language: Haskell2010   build-depends:       base