packages feed

prosidyc-0.3.0.0: prosidyc.cabal

cabal-version:       2.4
name:                prosidyc
version:             0.3.0.0
synopsis:            A DSL for processing Prosidy documents.
license:             MPL-2.0
license-file:        LICENSE
author:              James Alexander Feldman-Crough
maintainer:          alex@fldcr.com
copyright:           ©2020 to James Alexander Feldman-Crough
category:            Language
extra-source-files:  CHANGELOG, README.pro

tested-with:
    GHC == 8.6.5
  , GHC == 8.8.1

description:
    A small, Haskell EDSL which builds a specification and compiler for
    Prosidy dialects.

source-repository head
    type:     git
    location: https://git.fldcr.com/prosidy/prosidyc

flag fatal-warnings
    description: Turns all warnings into errors. Used in CI.
    default:     False
    manual:      True

-------------------------------------------------------------------------------
library
    default-language: Haskell2010
    hs-source-dirs:   src

    ghc-options:
        -Wall
        -Wno-name-shadowing

    if flag(fatal-warnings)
        ghc-options:
            -Werror

    exposed-modules:
        Prosidy.Compile
      , Prosidy.Compile.Core
      , Prosidy.Compile.DSL
      , Prosidy.Compile.Run
      , Data.Either.Valid
      , Data.Void.HKT

    other-modules:
        Prosidy.Compile.Core.Interpret
      , Prosidy.Compile.Core.Rules

    build-depends:
        base                 >= 4.11     && < 5
      , containers           >= 0.6      && < 0.7
      , free                 >= 5.1      && < 5.2
      , microlens            >= 0.4      && < 0.5
      , prosidy              >= 1.6.0.2  && < 1.7
      , text                 >= 1.2      && < 1.3
      , unordered-containers >= 0.2      && < 0.3
      , profunctors          >= 5.5      && < 5.6
      , hashable             >= 1.3      && < 1.4
      , prettyprinter        >= 1.6      && < 1.7

-------------------------------------------------------------------------------