Cabal revisions of stock-deepseq-0.1.0.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-cabal-version: 3.0-name: stock-deepseq-version: 0.1.0.0-synopsis: Derive NFData via the stock plugin-description:- The @stock@ plugin provides a datatype for deriving and synthesising- instances at compile time. @stock-deepseq@ extends the @stock@ with- support for @NFData@ and higher-kinded variants.-- > {-# options_ghc -fplugin Stock -Wno-unused-top-binds #-}- > - > {-# language DerivingVia #-}- > {-# language DataKinds #-}- >- > import Stock- > import Stock.NFData- > import Stock.Override- > - > import Control.Exception- > - > data Person = P { name :: String, age :: Int, secret :: Person }- > deriving (Eq, Ord, Show, NFData) via - > Stock Person- > - > -- >> try @SomeException (evaluate (rnf geir))- > -- Left stack overflow- > -- >> geir == geir- > -- <loop>- > -- >> geir- > -- P {name = "Geir", age = 10, secret = P {name = "Geir", .. } }- > geir :: Person- > geir = P { name = "Geir", age = 10, secret = geir }-- The @rnf@ function triggers the loop, but by pinning @secret@ as an- ignored field, we can happily force the other fields.-- > newtype Ignore a = Ignore a- > instance NFData (Ignore a) where rnf _ = ()- > instance Eq (Ignore a) where _ == _ = True- > instance Ord (Ignore a) where compare _ _ = EQ- > instance Show (Ignore a) where show _ = "<ignored>"- >- > data Person = P { name :: String, age :: Int, secret :: Person }- > deriving (Eq, Ord, Show, NFData) via - > Overriding Person '[ secret via Ignore ]- >- > -- >> try @SomeException (evaluate (rnf geir))- > -- Right ()- > -- >> geir == geir- > -- True- > -- >> geir- > -- P {name = "Geir", age = 10, secret = <ignored>}-- @stock-deepseq@ provides three instances, that signal to the- plugin how to derive @NFData@, @NFData1@, @NFData2@.-- > instance DeriveStock NFData ..- > instance DeriveStock1 NFData1 ..- > instance DeriveStock2 NFData2 ..-license: BSD-3-Clause-license-file: LICENSE-author: Baldur Blöndal-maintainer: baldur.blondal@iohk.io-category: Type System-build-type: Simple-tested-with: GHC == 9.8.1- , GHC == 9.10.3- , GHC == 9.12.4- , GHC == 9.14.1--library- exposed-modules: Stock.NFData- build-depends: base >=4.18 && <5- , ghc >=9.8 && <9.16- , stock >=0.1 && <0.2- , deepseq >=1.4 && <1.6- hs-source-dirs: .- default-language: GHC2021- ghc-options: -Wall--test-suite test- type: exitcode-stdio-1.0- main-is: Test.hs- build-depends: base, stock, stock-deepseq, deepseq- ghc-options: -fplugin=Stock- hs-source-dirs: test- default-language: GHC2021---- Zero-cost proof: Stock is fully erased-test-suite inspection- type: exitcode-stdio-1.0- main-is: Inspection.hs- build-depends: base, stock, stock-deepseq, deepseq, inspection-testing- ghc-options: -fplugin=Stock- hs-source-dirs: inspection- default-language: GHC2021- if impl(ghc >= 9.14)- buildable: False--source-repository head- type: git- location: https://github.com/Icelandjack/stock.git- subdir: deepseq+cabal-version: 3.0 +name: stock-deepseq +version: 0.1.0.0 +x-revision: 1 +synopsis: Derive NFData via the stock plugin +description: + The <https://hackage.haskell.org/package/stock stock> plugin provides a datatype for deriving and synthesising + instances at compile time. @stock-deepseq@ extends the <https://hackage.haskell.org/package/stock stock> with + support for @NFData@ and higher-kinded variants. + + > {-# options_ghc -fplugin Stock -Wno-unused-top-binds #-} + > + > {-# language DerivingVia #-} + > {-# language DataKinds #-} + > + > import Stock + > import Stock.NFData + > import Stock.Override + > + > import Control.Exception + > + > data Person = P { name :: String, age :: Int, secret :: Person } + > deriving (Eq, Ord, Show, NFData) via + > Stock Person + > + > -- >> try @SomeException (evaluate (rnf geir)) + > -- Left stack overflow + > -- >> geir == geir + > -- <loop> + > -- >> geir + > -- P {name = "Geir", age = 10, secret = P {name = "Geir", .. } } + > geir :: Person + > geir = P { name = "Geir", age = 10, secret = geir } + + The @rnf@ function triggers the loop, but by pinning @secret@ as an + ignored field, we can happily force the other fields. + + > newtype Ignore a = Ignore a + > instance NFData (Ignore a) where rnf _ = () + > instance Eq (Ignore a) where _ == _ = True + > instance Ord (Ignore a) where compare _ _ = EQ + > instance Show (Ignore a) where show _ = "<ignored>" + > + > data Person = P { name :: String, age :: Int, secret :: Person } + > deriving (Eq, Ord, Show, NFData) via + > Overriding Person '[ secret via Ignore ] + > + > -- >> try @SomeException (evaluate (rnf geir)) + > -- Right () + > -- >> geir == geir + > -- True + > -- >> geir + > -- P {name = "Geir", age = 10, secret = <ignored>} + + @stock-deepseq@ provides three instances, that signal to the + plugin how to derive @NFData@, @NFData1@, @NFData2@. + + > instance DeriveStock NFData .. + > instance DeriveStock1 NFData1 .. + > instance DeriveStock2 NFData2 .. +license: BSD-3-Clause +license-file: LICENSE +author: Baldur Blöndal +maintainer: baldur.blondal@iohk.io +category: Type System +build-type: Simple +tested-with: GHC == 9.8.1 + , GHC == 9.10.3 + , GHC == 9.12.4 + , GHC == 9.14.1 + +library + exposed-modules: Stock.NFData + build-depends: base >=4.18 && <5 + , ghc >=9.8 && <9.16 + , stock >=0.1 && <0.2 + , deepseq >=1.4 && <1.6 + hs-source-dirs: . + default-language: GHC2021 + ghc-options: -Wall + +test-suite test + type: exitcode-stdio-1.0 + main-is: Test.hs + build-depends: base, stock, stock-deepseq, deepseq + ghc-options: -fplugin=Stock + hs-source-dirs: test + default-language: GHC2021 + +-- Zero-cost proof: Stock is fully erased +test-suite inspection + type: exitcode-stdio-1.0 + main-is: Inspection.hs + build-depends: base, stock, stock-deepseq, deepseq, inspection-testing + ghc-options: -fplugin=Stock + hs-source-dirs: inspection + default-language: GHC2021 + if impl(ghc >= 9.14) + buildable: False + +source-repository head + type: git + location: https://github.com/Icelandjack/stock.git + subdir: deepseq
revision 2
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 1 +x-revision: 2 synopsis: Derive NFData via the stock plugin description: - The <https://hackage.haskell.org/package/stock stock> plugin provides a datatype for deriving and synthesising - instances at compile time. @stock-deepseq@ extends the <https://hackage.haskell.org/package/stock stock> with - support for @NFData@ and higher-kinded variants. - > {-# options_ghc -fplugin Stock -Wno-unused-top-binds #-} + The @<https://hackage.haskell.org/package/stock stock>@ plugin + provides a datatype for deriving and synthesising instances at + compile time. __stock-deepseq__ extends it to support + @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@ + and higher-kinded variants. + + > {-# options_ghc -fplugin Stock #-} > > {-# language DerivingVia #-} > {-# language DataKinds #-} > > import Stock > import Stock.NFData - > import Stock.Override > > import Control.Exception > > -- >> geir > -- P {name = "Geir", age = 10, secret = <ignored>} - @stock-deepseq@ provides three instances, that signal to the - plugin how to derive @NFData@, @NFData1@, @NFData2@. + __stock-deepseq__ provides three instances, that signal to the + plugin how to derive @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData2 NFData2>@. > instance DeriveStock NFData .. > instance DeriveStock1 NFData1 .. > instance DeriveStock2 NFData2 .. + + @<https://hackage.haskell.org/package/stock-deepseq stock>@ companion packages include: + + * __stock-deepseq__: @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ + * @<https://hackage.haskell.org/package/stock-hashable stock-hashable>@: @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@ + * @<https://hackage.haskell.org/package/stock-aeson stock-aeson>@: @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON ToJSON>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON1 ToJSON1>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON2 ToJSON2>@; @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON FromJSON>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON1 FromJSON1>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON2 FromJSON2>@ + * @<https://hackage.haskell.org/package/stock-quickcheck stock-quickcheck>@: @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary Arbitrary>@, @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary1 Arbitrary1>@, @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary2 Arbitrary2>@; @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:CoArbitrary CoArbitrary>@ + * @<https://hackage.haskell.org/package/stock-profunctors stock-profunctors>@: @<https://hackage.haskell.org/package/profunctors/docs/Data-Profunctor.html#t:Profunctor Profunctor>@ + license: BSD-3-Clause license-file: LICENSE author: Baldur Blöndal
revision 3
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 2 +x-revision: 3 synopsis: Derive NFData via the stock plugin description: - The @<https://hackage.haskell.org/package/stock stock>@ plugin + The @<https://hackage.haskell.org/package/stock stock>@_ plugin provides a datatype for deriving and synthesising instances at compile time. __stock-deepseq__ extends it to support @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@ @<https://hackage.haskell.org/package/stock-deepseq stock>@ companion packages include: - * __stock-deepseq__: @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ - * @<https://hackage.haskell.org/package/stock-hashable stock-hashable>@: @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@ - * @<https://hackage.haskell.org/package/stock-aeson stock-aeson>@: @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON ToJSON>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON1 ToJSON1>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:ToJSON2 ToJSON2>@; @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON FromJSON>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON1 FromJSON1>@, @<https://hackage.haskell.org/package/aeson/docs/Data-Aeson.html#t:FromJSON2 FromJSON2>@ - * @<https://hackage.haskell.org/package/stock-quickcheck stock-quickcheck>@: @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary Arbitrary>@, @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary1 Arbitrary1>@, @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary2 Arbitrary2>@; @<https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:CoArbitrary CoArbitrary>@ - * @<https://hackage.haskell.org/package/stock-profunctors stock-profunctors>@: @<https://hackage.haskell.org/package/profunctors/docs/Data-Profunctor.html#t:Profunctor Profunctor>@ + * __stock-deepseq__: @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ + * __@<https://hackage.haskell.org/package/stock-hashable stock-hashable>@__: @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@ + * __@<https://hackage.haskell.org/package/stock-aeson stock-aeson>@__: @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON ToJSON>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON1 ToJSON1>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON2 ToJSON2>@; @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON FromJSON>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON1 FromJSON1>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON2 FromJSON2>@ + * __@<https://hackage.haskell.org/package/stock-quickcheck stock-quickcheck>@__: @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary Arbitrary>@, @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary1 Arbitrary1>@, @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary2 Arbitrary2>@; @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:CoArbitrary CoArbitrary>@ + * __@<https://hackage.haskell.org/package/stock-profunctors stock-profunctors>@__: @<https://hackage-content.haskell.org/package/profunctors-5.6.3/docs/Data-Profunctor.html#t:Profunctor Profunctor>@ license: BSD-3-Clause license-file: LICENSE
revision 4
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 3 +x-revision: 4 synopsis: Derive NFData via the stock plugin description: - The @<https://hackage.haskell.org/package/stock stock>@_ plugin - provides a datatype for deriving and synthesising instances at - compile time. __stock-deepseq__ extends it to support + The /@<https://hackage.haskell.org/package/stock stock>@/ plugin + provides a datatype + _@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@_ + for deriving and synthesising instances at compile + time. __stock-deepseq__ extends it to support @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@ and higher-kinded variants.
revision 5
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 4 +x-revision: 5 synopsis: Derive NFData via the stock plugin description: - The /@<https://hackage.haskell.org/package/stock stock>@/ plugin + The /<https://hackage.haskell.org/package/stock stock>/ plugin provides a datatype - _@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@_ + __@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@__ for deriving and synthesising instances at compile time. __stock-deepseq__ extends it to support @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@ > instance DeriveStock1 NFData1 .. > instance DeriveStock2 NFData2 .. - @<https://hackage.haskell.org/package/stock-deepseq stock>@ companion packages include: + /<https://hackage.haskell.org/package/stock-deepseq stock>/ companion packages include: * __stock-deepseq__: @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ * __@<https://hackage.haskell.org/package/stock-hashable stock-hashable>@__: @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@
revision 6
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 5 +x-revision: 6 synopsis: Derive NFData via the stock plugin description: > instance DeriveStock1 NFData1 .. > instance DeriveStock2 NFData2 .. - /<https://hackage.haskell.org/package/stock-deepseq stock>/ companion packages include: + <https://hackage.haskell.org/package/stock stock> companion packages include: * __stock-deepseq__: @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ * __@<https://hackage.haskell.org/package/stock-hashable stock-hashable>@__: @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@
revision 7
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 6 +x-revision: 7 synopsis: Derive NFData via the stock plugin description: - The /<https://hackage.haskell.org/package/stock stock>/ plugin + The <https://hackage.haskell.org/package/stock stock> plugin provides a datatype __@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@__ for deriving and synthesising instances at compile
revision 8
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 7 +x-revision: 8 synopsis: Derive NFData via the stock plugin description: The <https://hackage.haskell.org/package/stock stock> plugin - provides a datatype + provides a newtype __@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@__ for deriving and synthesising instances at compile time. __stock-deepseq__ extends it to support
revision 9
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 8 +x-revision: 9 synopsis: Derive NFData via the stock plugin description: <https://hackage.haskell.org/package/stock stock> companion packages include: - * __stock-deepseq__: @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ + * __@stock-deepseq@__: @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@ * __@<https://hackage.haskell.org/package/stock-hashable stock-hashable>@__: @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable.html#t:Hashable Hashable>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable1 Hashable1>@, @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@ * __@<https://hackage.haskell.org/package/stock-aeson stock-aeson>@__: @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON ToJSON>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON1 ToJSON1>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:ToJSON2 ToJSON2>@; @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON FromJSON>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON1 FromJSON1>@, @<https://hackage-content.haskell.org/package/aeson-2.3.0.0/docs/Data-Aeson.html#t:FromJSON2 FromJSON2>@ * __@<https://hackage.haskell.org/package/stock-quickcheck stock-quickcheck>@__: @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary Arbitrary>@, @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary1 Arbitrary1>@, @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:Arbitrary2 Arbitrary2>@; @<https://hackage-content.haskell.org/package/QuickCheck-2.18.0.0/docs/Test-QuickCheck.html#t:CoArbitrary CoArbitrary>@
revision 10
cabal-version: 3.0 name: stock-deepseq version: 0.1.0.0 -x-revision: 9 +x-revision: 10 synopsis: Derive NFData via the stock plugin description: __@<https://hackage-content.haskell.org/package/stock-0.1.0.0/docs/Stock.html#t:Stock Stock>@__ for deriving and synthesising instances at compile time. __stock-deepseq__ extends it to support - @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@ + @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@ and higher-kinded variants. > {-# options_ghc -fplugin Stock #-} > -- P {name = "Geir", age = 10, secret = <ignored>} __stock-deepseq__ provides three instances, that signal to the - plugin how to derive @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage.haskell.org/package/deepseq/docs/Control-DeepSeq.html#t:NFData2 NFData2>@. + plugin how to derive @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData NFData>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData1 NFData1>@, @<https://hackage-content.haskell.org/package/deepseq-1.5.2.0/docs/Control-DeepSeq.html#t:NFData2 NFData2>@. > instance DeriveStock NFData .. > instance DeriveStock1 NFData1 .. maintainer: baldur.blondal@iohk.io category: Type System build-type: Simple -tested-with: GHC == 9.8.1 +tested-with: GHC == 9.8.1, GHC == 9.10.3, GHC == 9.12.4, GHC == 9.14.1 , GHC == 9.10.3 , GHC == 9.12.4 , GHC == 9.14.1