Cabal revisions of stock-hashable-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-hashable-version: 0.1.0.0-synopsis: Derive Hashable via the stock plugin-description:- The @stock@ plugin provides a datatype for deriving and synthesising- instances at compile time. @stock-hashable@ extends the @stock@ with- support for @Hashable@ and higher-kinded variants.-- > {-# options_ghc -fplugin Stock #-}- > - > {-# language DerivingVia #-}- > - > import Stock- > import Stock.Hashable- > - > data Pair a b = Pair a b- > deriving (Eq, Hashable) via Stock (Pair a b)- > deriving (Eq1, Hashable1) via Stock1 (Pair a)- > deriving (Eq2, Hashable2) via Stock2 Pair-- @stock-hashable@ provides three instances, that signal to the plugin- how to derive @Hashable@.-- > instance DeriveStock Hashable ..- > instance DeriveStock1 Hashable1 ..- > instance DeriveStock2 Hashable2 ..-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.Hashable- build-depends: base >=4.18 && <5- , ghc >=9.6 && <9.16- , stock >=0.1 && <0.2- , hashable >=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-hashable, hashable- ghc-options: -fplugin=Stock- hs-source-dirs: test- default-language: GHC2021---- zero-cost proof: Stock wrapper is fully erased-test-suite inspection- type: exitcode-stdio-1.0- main-is: Inspection.hs- build-depends: base, stock, stock-hashable, hashable, inspection-testing- ghc-options: -fplugin=Stock- hs-source-dirs: inspection- default-language: GHC2021- -- no inspection-testing support- if impl(ghc >= 9.14)- buildable: False--source-repository head- type: git- location: https://github.com/Icelandjack/stock.git- subdir: hashable+cabal-version: 3.0 +name: stock-hashable +version: 0.1.0.0 +x-revision: 1 +synopsis: Derive Hashable 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-hashable@ extends the <https://hackage.haskell.org/package/stock stock> with + support for @Hashable@ and higher-kinded variants. + + > {-# options_ghc -fplugin Stock #-} + > + > {-# language DerivingVia #-} + > + > import Stock + > import Stock.Hashable + > + > data Pair a b = Pair a b + > deriving (Eq, Hashable) via Stock (Pair a b) + > deriving (Eq1, Hashable1) via Stock1 (Pair a) + > deriving (Eq2, Hashable2) via Stock2 Pair + + @stock-hashable@ provides three instances, that signal to the plugin + how to derive @Hashable@. + + > instance DeriveStock Hashable .. + > instance DeriveStock1 Hashable1 .. + > instance DeriveStock2 Hashable2 .. +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.Hashable + build-depends: base >=4.18 && <5 + , ghc >=9.6 && <9.16 + , stock >=0.1 && <0.2 + , hashable >=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-hashable, hashable + ghc-options: -fplugin=Stock + hs-source-dirs: test + default-language: GHC2021 + +-- zero-cost proof: Stock wrapper is fully erased +test-suite inspection + type: exitcode-stdio-1.0 + main-is: Inspection.hs + build-depends: base, stock, stock-hashable, hashable, inspection-testing + ghc-options: -fplugin=Stock + hs-source-dirs: inspection + default-language: GHC2021 + -- no inspection-testing support + if impl(ghc >= 9.14) + buildable: False + +source-repository head + type: git + location: https://github.com/Icelandjack/stock.git + subdir: hashable
revision 2
cabal-version: 3.0 name: stock-hashable version: 0.1.0.0 -x-revision: 1 +x-revision: 2 synopsis: Derive Hashable 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-hashable@ extends the <https://hackage.haskell.org/package/stock stock> with - support for @Hashable@ and higher-kinded variants. + The @<https://hackage.haskell.org/package/stock stock>@ plugin + provides a datatype for deriving and synthesising instances at + compile time. __stock-hashable__ extends it to support + @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable + Hashable>@, and higher-kinded variants. + > {-# options_ghc -fplugin Stock #-} > > {-# language DerivingVia #-} > deriving (Eq1, Hashable1) via Stock1 (Pair a) > deriving (Eq2, Hashable2) via Stock2 Pair - @stock-hashable@ provides three instances, that signal to the plugin - how to derive @Hashable@. + __stock-hashable__ provides three instances, that signal to the + plugin how to derive @Hashable@. > instance DeriveStock Hashable .. > instance DeriveStock1 Hashable1 .. > instance DeriveStock2 Hashable2 .. + + @<https://hackage.haskell.org/package/stock-deepseq stock>@ companion packages include: + + * @<https://hackage.haskell.org/package/stock-deepseq 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>@ + * __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-hashable version: 0.1.0.0 -x-revision: 2 +x-revision: 3 synopsis: Derive Hashable 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-hashable__ extends it to support - @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable - Hashable>@, and higher-kinded variants. + @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, and higher-kinded variants. > {-# options_ghc -fplugin Stock #-} >
revision 4
cabal-version: 3.0 name: stock-hashable version: 0.1.0.0 -x-revision: 3 +x-revision: 4 synopsis: Derive Hashable 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-hashable__ extends it to support - @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, and higher-kinded variants. + The <https://hackage.haskell.org/package/stock stock> plugin + 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-hashable__ extends it to support + @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, + and higher-kinded variants. > {-# options_ghc -fplugin Stock #-} > > deriving (Eq2, Hashable2) via Stock2 Pair __stock-hashable__ provides three instances, that signal to the - plugin how to derive @Hashable@. + plugin how to derive @<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>@ and @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@. > instance DeriveStock Hashable .. > instance DeriveStock1 Hashable1 .. > instance DeriveStock2 Hashable2 .. - @<https://hackage.haskell.org/package/stock-deepseq stock>@ companion packages include: + <https://hackage.haskell.org/package/stock stock> companion packages include: - * @<https://hackage.haskell.org/package/stock-deepseq 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>@ - * __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>@ + * __@<https://hackage.haskell.org/package/stock-deepseq 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-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
revision 5
cabal-version: 3.0 name: stock-hashable version: 0.1.0.0 -x-revision: 4 +x-revision: 5 synopsis: Derive Hashable via the stock plugin description: 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-hashable__ extends it to support - @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable.html#t:Hashable Hashable>@, + @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable.html#t:Hashable Hashable>@, and higher-kinded variants. > {-# options_ghc -fplugin Stock #-} > deriving (Eq2, Hashable2) via Stock2 Pair __stock-hashable__ provides three instances, that signal to the - plugin how to derive @<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>@ and @<https://hackage.haskell.org/package/hashable/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@. + plugin how to derive @<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>@ and @<https://hackage-content.haskell.org/package/hashable-1.5.1.0/docs/Data-Hashable-Lifted.html#t:Hashable2 Hashable2>@. > instance DeriveStock Hashable .. > instance DeriveStock1 Hashable1 .. 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