-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2017-04-21T13:41:18Z
- Loading branch information
1 parent
b478ee0
commit 0d6c9d1
Showing
2 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
name: generics-sop | ||
version: 0.2.5.0 | ||
synopsis: Generic Programming using True Sums of Products | ||
description: | ||
A library to support the definition of generic functions. | ||
Datatypes are viewed in a uniform, structured way: | ||
the choice between constructors is represented using an n-ary | ||
sum, and the arguments of each constructor are represented using | ||
an n-ary product. | ||
. | ||
The module "Generics.SOP" is the main module of this library and contains | ||
more detailed documentation. | ||
. | ||
Examples of using this library are provided by the following | ||
packages: | ||
. | ||
* @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples, | ||
. | ||
* @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing, | ||
. | ||
* @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses, | ||
. | ||
* @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions. | ||
. | ||
A detailed description of the ideas behind this library is provided by | ||
the paper: | ||
. | ||
* Edsko de Vries and Andres Löh. | ||
<http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>. | ||
Workshop on Generic Programming (WGP) 2014. | ||
. | ||
license: BSD3 | ||
license-file: LICENSE | ||
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com> | ||
maintainer: andres@well-typed.com | ||
category: Generics | ||
build-type: Simple | ||
cabal-version: >=1.10 | ||
extra-source-files: CHANGELOG.md | ||
tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.1.* | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/well-typed/generics-sop | ||
|
||
library | ||
exposed-modules: Generics.SOP | ||
Generics.SOP.GGP | ||
Generics.SOP.TH | ||
Generics.SOP.Dict | ||
-- exposed via Generics.SOP: | ||
Generics.SOP.BasicFunctors | ||
Generics.SOP.Classes | ||
Generics.SOP.Constraint | ||
Generics.SOP.Instances | ||
Generics.SOP.Metadata | ||
Generics.SOP.NP | ||
Generics.SOP.NS | ||
Generics.SOP.Universe | ||
Generics.SOP.Sing | ||
build-depends: base >= 4.6 && < 5, | ||
template-haskell >= 2.8 && < 2.13, | ||
ghc-prim >= 0.3 && < 0.6, | ||
deepseq >= 1.3 && < 1.5 | ||
if !impl (ghc >= 7.8) | ||
build-depends: tagged >= 0.7 && < 0.9 | ||
if !impl (ghc >= 8.0) | ||
build-depends: transformers-compat >= 0.3 && < 0.6, | ||
transformers >= 0.3 && < 0.6 | ||
|
||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
default-extensions: CPP | ||
ScopedTypeVariables | ||
TypeFamilies | ||
RankNTypes | ||
TypeOperators | ||
GADTs | ||
ConstraintKinds | ||
MultiParamTypeClasses | ||
TypeSynonymInstances | ||
FlexibleInstances | ||
FlexibleContexts | ||
DeriveFunctor | ||
DeriveFoldable | ||
DeriveTraversable | ||
DefaultSignatures | ||
KindSignatures | ||
DataKinds | ||
FunctionalDependencies | ||
if impl (ghc >= 7.8) | ||
default-extensions: AutoDeriveTypeable | ||
other-extensions: OverloadedStrings | ||
PolyKinds | ||
UndecidableInstances | ||
TemplateHaskell | ||
DeriveGeneric | ||
StandaloneDeriving | ||
if impl (ghc < 7.10) | ||
other-extensions: OverlappingInstances | ||
|
||
test-suite generic-sop-examples | ||
type: exitcode-stdio-1.0 | ||
main-is: Example.hs | ||
hs-source-dirs: test | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
build-depends: base >= 4.6 && < 5, | ||
generics-sop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"a3acecd68b8fd72e91f06bb54dfcf992","Skein512_512":"c7f6f97d238b4a3a8e461a6d82728a3686dd4f554973906246f50415b366946f0778d8eb7af4721d48588a7889e86f72a5f0e7fb83a8beb15fc3ec89032c4257","SHA1":"94f7ddd4e8fd5cdf8c5339b41133a23a7f288cba","SHA512":"233ad827d36257868229e3419463d105ae4f3bf1898af1269d0853de8d455bf03538d2d11023c0f700d61c480399d0f7cbeddfd593f4761af9a63f5e1faf6ee1","SHA256":"f3977cfd6c3e21555393294b2be2b8fd23729f9224828418208d06da65d34ddc"},"package-locations":["https://hackage.haskell.org/package/generics-sop-0.2.5.0/generics-sop-0.2.5.0.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/generics-sop-0.2.5.0.tar.gz"],"package-size":35726} |