cabal-version: 2.2
name: traverse-code
version: 0.1
synopsis: General data structure lifting for Template Haskell
tested-with:
GHC ==9.0.1 || ==9.2.1
-- A longer description of the package.
description:
.
This package provides a simple type class to use Template Haskell
to generate code for building data structures.
homepage: https://github.com/treeowl/traverse-code
-- A URL where users can report bugs.
-- bug-reports:
license: BSD-3-Clause
license-file: LICENSE
author: David Feuer
maintainer: David.Feuer@gmail.com
-- A copyright notice.
-- copyright:
category: Language
extra-source-files: CHANGELOG.md
library
exposed-modules:
Language.Haskell.TH.TraverseCode
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
other-extensions:
TemplateHaskellQuotes
-- TODO: figure out a base version; make things work with
-- older Template Haskell
build-depends: base >=4.15.0.0 && < 4.17
, template-haskell >= 2.16
, containers
, linear-generics
hs-source-dirs: src
default-language: Haskell2010
test-suite traverse-code-test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TraverseCodeTest.hs
build-depends:
base
, template-haskell
, traverse-code
, containers
, linear-generics