packages feed

core-of-name-0.1.0.0: core-of-name.cabal

cabal-version:       2.2

name:                core-of-name
version:             0.1.0.0
synopsis:            Print the Core representation of a binding with a GHC plugin.
description:         GHC plugin that prints the Core representation of a given binding, either to the console or to a file. Useful for debugging and learning about GHC's Core language.
homepage:            https://github.com/ocramz/ghc-plugin-core-of-name
license:             BSD-3-Clause
license-file:        LICENSE
author:              Marco Zocca
maintainer:          ocramz
copyright:           2026 Marco Zocca
category:            Development
build-type:          Simple
tested-with:          GHC == 9.10.3
extra-source-files:  README.md
extra-doc-files:    CHANGELOG.md

library
  default-language:    Haskell2010
  hs-source-dirs:      src
  exposed-modules:     CoreOfName.Types
                     , CoreOfName.Plugin
  build-depends:       base >= 4.7 && < 5
                     , ghc >= 9.8 && < 9.14
                     , template-haskell >= 2.15 && < 2.23
  ghc-options:         -Wall
                       -Wcompat
                       -Widentities
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wmissing-home-modules
                       -Wpartial-fields
                       -Wredundant-constraints

executable core-of-name
  default-language:    Haskell2010
  hs-source-dirs:      app
  main-is:             Main.hs
  build-depends:       base
                     , core-of-name
  ghc-options:         -Wall


source-repository head
  type:     git
  location: https://github.com/ocramz/ghc-plugin-core-of-name