packages feed

Cabal revisions of microspec-0.1.0.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-name:                microspec-version:             0.1.0.0-synopsis:            Tiny QuickCheck test library with minimal dependencies-description:         -  A tiny (1 module, <500 lines) property-based (and unit) testing library with minimal dependencies.-  .-  Don't add a bunch of transitive dependencies just to test your code!-  .-  Instead of reinventing the wheel (<https://xkcd.com/927>), we use a-  RSpec/HSpec-like API and run tests with QuickCheck.-  .-  > import Test.Microspec-  > -  > main :: IO ()-  > main = microspec $ do-  >    describe "replicate" $ do-  >       it "doubles with 2" $-  >          replicate 2 'x' == "xx"-  >       it "creates a list of the right size" $-  >          \(Positive n) -> length (replicate n 'x') == n-  > -  >    describe "reverse" $ do-  >       it "reverse . reverse == id" $ \l ->-  >          reverse (reverse l) == (l :: [Int])-  > -  >    describe "tail" $-  >       it "length is -1" $ \(NonEmpty l) ->-  >          length (tail l :: [Int]) == length l - 1-  > -  >    describe "solve the halting problem" $-  >       pending-license:             BSD3-license-file:        LICENSE-author:              Tom Murphy-maintainer:          Tom Murphy--- copyright:           -category:            Test, Testing-build-type:          Simple-cabal-version:       >=1.10-stability:           experimental--library-  exposed-modules:-    Test.Microspec-  -- other-modules:       -  other-extensions:-      FlexibleInstances-    , LambdaCase-  build-depends:-      -- PVP compat:-    --   base >=4.9 && <5-    -- , QuickCheck >=2.9 && <2.10-      base <5-    , QuickCheck-  -- hs-source-dirs:      -  default-language:    Haskell2010+name:                microspec
+version:             0.1.0.0
+x-revision: 1
+synopsis:            Tiny QuickCheck test library with minimal dependencies
+description:         
+  A tiny (1 module, <500 lines) property-based (and unit) testing library with minimal dependencies.
+  .
+  Don't add a bunch of transitive dependencies just to test your code!
+  .
+  Instead of reinventing the wheel (<https://xkcd.com/927>), we use a
+  RSpec/HSpec-like API and run tests with QuickCheck.
+  .
+  > import Test.Microspec
+  > 
+  > main :: IO ()
+  > main = microspec $ do
+  >    describe "replicate" $ do
+  >       it "doubles with 2" $
+  >          replicate 2 'x' == "xx"
+  >       it "creates a list of the right size" $
+  >          \(Positive n) -> length (replicate n 'x') == n
+  > 
+  >    describe "reverse" $ do
+  >       it "reverse . reverse == id" $ \l ->
+  >          reverse (reverse l) == (l :: [Int])
+  > 
+  >    describe "tail" $
+  >       it "length is -1" $ \(NonEmpty l) ->
+  >          length (tail l :: [Int]) == length l - 1
+  > 
+  >    describe "solve the halting problem" $
+  >       pending
+license:             BSD3
+license-file:        LICENSE
+author:              Tom Murphy
+maintainer:          Tom Murphy
+-- copyright:           
+category:            Test, Testing
+build-type:          Simple
+cabal-version:       >=1.10
+stability:           experimental
+
+library
+  exposed-modules:
+    Test.Microspec
+  -- other-modules:       
+  other-extensions:
+      FlexibleInstances
+    , LambdaCase
+  build-depends:
+      -- PVP compat:
+    --   base >=4.9 && <5
+    -- , QuickCheck >=2.9 && <2.10
+      base <5
+    , QuickCheck < 2.12
+  -- hs-source-dirs:      
+  default-language:    Haskell2010