packages feed

generics-eot 0.2.1 → 0.2.1.1

raw patch · 3 files changed

+45/−30 lines, 3 files

Files

generics-eot.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.8.0.+-- This file has been generated from package.yaml by hpack version 0.13.0. -- -- see: https://github.com/sol/hpack  name:           generics-eot-version:        0.2.1+version:        0.2.1.1 synopsis:       A library for generic programming that aims to be easy to understand category:       Generics homepage:       https://github.com/soenkehahn/generics-eot#readme@@ -34,62 +34,63 @@   other-modules:       Generics.Eot.Datatype       Generics.Eot.Eot+      Paths_generics_eot   default-language: Haskell2010 -test-suite spec+test-suite quickcheck   type: exitcode-stdio-1.0   main-is: Spec.hs   hs-source-dirs:-      test+      test/quickcheck     , src-    , examples   ghc-options: -Wall -fno-warn-name-shadowing -pgmL markdown-unlit   build-depends:       base == 4.*     , markdown-unlit     , hspec-    , QuickCheck+    , mockery     , interpolate-    , doctest+    , shake+    , directory+    , filepath+    , QuickCheck   other-modules:-      Examples.CatamorphismsSpec-      Examples.DocsSpec-      Examples.MinBoundSpec-      Examples.ToStringSpec-      Generics.DatatypeSpec-      Generics.Eot.TutorialSpec-      Generics.EotSpec+      DatatypeSpec       Generics.Eot       Generics.Eot.Datatype       Generics.Eot.Eot       Generics.Eot.Tutorial-      Catamorphisms-      Docs-      MinBound-      ToString   default-language: Haskell2010 -test-suite quickcheck+test-suite spec   type: exitcode-stdio-1.0   main-is: Spec.hs   hs-source-dirs:-      test/quickcheck+      test     , src+    , examples   ghc-options: -Wall -fno-warn-name-shadowing -pgmL markdown-unlit   build-depends:       base == 4.*     , markdown-unlit     , hspec-    , mockery-    , interpolate-    , shake-    , directory-    , filepath     , QuickCheck+    , interpolate+    , doctest   other-modules:-      DatatypeSpec+      Examples.CatamorphismsSpec+      Examples.DocsSpec+      Examples.MinBoundSpec+      Examples.ToStringSpec+      Generics.DatatypeSpec+      Generics.Eot.TutorialSpec+      Generics.EotSpec       Generics.Eot       Generics.Eot.Datatype       Generics.Eot.Eot       Generics.Eot.Tutorial+      Catamorphisms+      Docs+      MinBound+      ToString   default-language: Haskell2010
src/Generics/Eot/Tutorial.lhs view
@@ -465,10 +465,10 @@ -- $ >>> putStrLn $ createTableStatement (Proxy :: Proxy A) -- <BLANKLINE> -- ...---     No instance for (EotCreateTableStatement---                        Datatype---                        (Either ([Char], (Int, ())) (Either (Int, (Bool, ())) Void)))---       arising from a use of ‘createTableStatement’+--     • No instance for (EotCreateTableStatement+--                          Datatype+--                          (Either ([Char], (Int, ())) (Either (Int, (Bool, ())) Void)))+--         arising from a use of ‘createTableStatement’ -- ... ``` @@ -482,6 +482,7 @@  -- $ >>> putStrLn $ createTableStatement (Proxy :: Proxy NoSelectors) -- *** Exception: constructor NotSupported has no selectors, this is not supported+-- ... ```  ## DefaultSignatures
test/Generics/Eot/TutorialSpec.hs view
@@ -1,6 +1,9 @@+{-# LANGUAGE CPP #-}  module Generics.Eot.TutorialSpec where +#if MIN_VERSION_base(4,9,0)+ import           Test.DocTest import           Test.Hspec @@ -8,5 +11,15 @@  spec :: Spec spec = describe "tutorial" $ do+   it "doctests" $ do     doctest (words "src/Generics/Eot/Tutorial.lhs -isrc -pgmL markdown-unlit")++#else++import           Test.Hspec++spec :: Spec+spec = return ()++#endif