staged-gg-0.1: staged-gg.cabal
cabal-version: 2.2
name: staged-gg
version: 0.1
synopsis: GHC.Generics style staged generics
category: Staged, Generics
description:
GHC.Generics style staged generics.
.
See https://www.andres-loeh.de/StagedSOP/ paper for description of
@staged-sop@, which is staged version of @generics-sop@.
The non @generics-sop@ specific parts
like sections on Typed Template Haskell, and Type Template Haskell and Constraints,
are applicable to @staged-gg@ as well.
.
This package is an /EXPERIMENTAL/ proof-of-concept.
It works if you do not do anything fancy.
Because of current GHC Typed Template Haskell limitations,
quite simple things are "fancy".
See https://github.com/phadej/staged-gg/tree/master/staged-gg-examples
for examples what you can do regardless.
author: Oleg Grenrus, Andres Löh
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
license: BSD-3-Clause
license-file: LICENSE
tested-with: GHC ==9.0.1
source-repository head
type: git
location: https://github.com/phadej/staged-gg.git
library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
-- ghc-boot dependencies
build-depends:
, base ^>=4.15
, containers ^>=0.6.4.1
, template-haskell ^>=2.17.0.0
build-depends:
, generic-deriving ^>=1.14
, th-abstraction ^>=0.4.2.0
, th-lift ^>=0.8.2
-- staged generics
exposed-modules:
Staged.GHC.Generics
Staged.GHC.Generics.Instances
Staged.GHC.Generics.TH
Staged.GHC.Generics.Types
other-modules:
Generics.Deriving.TH.Internal
Generics.Deriving.TH.Post4_9
Staged.GHC.Generics.Internal
Staged.GHC.Generics.TH.Names