packages feed

ghc-symbol-0: ghc-symbol.cabal

cabal-version: 2.4
name:          ghc-symbol
version:       0
category:      Data
synopsis:      Symbol on term level
description:
  This package fleshes out @Symbol@ on term level,
  so we can use the same type for terms and promoted to type level.

author:        Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:    Oleg Grenrus <oleg.grenrus@iki.fi>
license:       BSD-3-Clause
license-file:  LICENSE
tested-with:   GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.2

library
  default-language:         Haskell2010
  build-depends:
    , base              >=4.14.0.0 && <4.18
    , binary            ^>=0.8.8.0
    , deepseq           ^>=1.4.4.0
    , template-haskell  >=2.16     && <2.20

  exposed-modules:          GHC.Symbol
  hs-source-dirs:           src
  ghc-options:              -Wall
  x-docspec-extra-packages: text

test-suite ghc-symbol-tests
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  ghc-options:      -Wall
  hs-source-dirs:   tests
  main-is:          ghc-symbol-tests.hs
  build-depends:
    , base
    , ghc-symbol
    , tasty        ^>=1.4.2.3
    , tasty-hunit  ^>=0.10.0.3
    , text