packages feed

barecheck 0.2.0.4 → 0.2.0.6

raw patch · 3 files changed

+19/−3 lines, 3 files

Files

barecheck.cabal view
@@ -3,10 +3,10 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2014-11-23 20:33:36.359098 EST+-- Generated on: 2014-11-23 21:54:12.299126 EST -- Cartel library version: 0.10.0.2 name: barecheck-version: 0.2.0.4+version: 0.2.0.6 cabal-version: >= 1.14 build-type: Simple license: BSD3@@ -43,6 +43,8 @@   , current-versions.txt   , genCabal.hs   , sunlight-test.hs+  , oldQuickCheck/Barecheck/Promote.hs+  , lib/Barecheck/Promote.hs  source-repository head   type: git
genCabal.hs view
@@ -8,7 +8,7 @@ import qualified Cartel as A  versionInts :: [Int]-versionInts = [0,2,0,4]+versionInts = [0,2,0,6]  version :: A.Version version = A.Version versionInts@@ -56,6 +56,10 @@     , "current-versions.txt"     , "genCabal.hs"     , "sunlight-test.hs"++    -- Must specify all conditional modules for distribution+    , "oldQuickCheck/Barecheck/Promote.hs"+    , "lib/Barecheck/Promote.hs"     ]   } 
+ lib/Barecheck/Promote.hs view
@@ -0,0 +1,10 @@+-- | This module allows for the 'promote' function to be imported+-- correctly from different QuickCheck versions.  QuickCheck 2.6 used+-- Test.QuickCheck.Gen.promote; QuickCheck 2.7 uses+-- Test.QuickCheck.Gen.Unsafe.promote.  For use with old versions of+-- QuickCheck, Cabal will import a different version of this module+-- from the oldQuickCheck directory.++module Barecheck.Promote (promote) where++import Test.QuickCheck.Gen.Unsafe (promote)