packages feed

record 0.3.1.2 → 0.3.2

raw patch · 2 files changed

+16/−14 lines, 2 filesdep +template-haskell-compat-v0208dep ~basedep ~base-preludedep ~doctest

Dependencies added: template-haskell-compat-v0208

Dependency ranges changed: base, base-prelude, doctest, template-haskell, text, transformers

Files

library/Record/Types.hs view
@@ -17,6 +17,7 @@ import Language.Haskell.TH import Foreign.Storable import Foreign.Ptr (plusPtr)+import qualified TemplateHaskell.Compat.V0208 as A   -- *@@ -73,7 +74,7 @@     conTypes =       do         i <- [1 .. arity]-        return $ (,) (NotStrict) (VarT (mkName ("v" <> show i)))+        return $ (,) (A.notStrict) (VarT (mkName ("v" <> show i)))     derivingNames = #if MIN_VERSION_base(4,7,0)       [''Show, ''Eq, ''Ord, ''Typeable, ''Generic]@@ -81,7 +82,7 @@       [''Show, ''Eq, ''Ord, ''Generic] #endif     in-      DataD [] typeName varBndrs [NormalC typeName conTypes] derivingNames+      A.dataD [] typeName varBndrs [NormalC typeName conTypes] derivingNames   -- Generate instances of Foreign.Storable@@ -145,9 +146,9 @@                                              (nameE ("v" <> show i)))) [1..arity])) [])]     inlineFun name = PragmaD $ InlineP (mkName name) Inline FunLike AllPhases   in-    InstanceD context (AppT (ConT (mkName "Storable")) recordType)-              [sizeOfFun, inlineFun "sizeOf", alignmentFun, inlineFun "alignment"-              , peekFun, inlineFun "peek", pokeFun, inlineFun "poke"]+    A.instanceD context (AppT (ConT (mkName "Storable")) recordType)+                [sizeOfFun, inlineFun "sizeOf", alignmentFun, inlineFun "alignment"+                , peekFun, inlineFun "peek", pokeFun, inlineFun "poke"]  -- * -------------------------
record.cabal view
@@ -1,7 +1,7 @@ name:   record version:-  0.3.1.2+  0.3.2 synopsis:   First class records implemented with quasi-quotation description:@@ -57,7 +57,7 @@   ghc-options:     -funbox-strict-fields   default-extensions:-    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples+    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples   default-language:     Haskell2010   other-modules:@@ -70,13 +70,14 @@     --      attoparsec >= 0.12 && < 0.14,     -- -    text,+    text >= 1 && < 2,     ---    template-haskell,+    template-haskell >= 2.8 && < 3,+    template-haskell-compat-v0208 == 0.1.*,     -- -    transformers >= 0.2 && < 0.5,-    base-prelude >= 0.1 && < 0.2,-    base >= 4.6 && < 4.9+    transformers >= 0.2 && < 0.6,+    base-prelude >= 0.1 && < 2,+    base >= 4.6 && < 5   test-suite doctest@@ -91,13 +92,13 @@     "-with-rtsopts=-N"     -funbox-strict-fields   default-extensions:-    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators+    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples   default-language:     Haskell2010   if !flag(doctest)     buildable: False   build-depends:-    doctest == 0.9.*,+    doctest == 0.11.*,     directory == 1.2.*,     filepath >= 1.3 && < 1.5,     base-prelude,