packages feed

aeson-unqualified-ast-1: aeson-unqualified-ast.cabal

cabal-version: 3.0
name:          aeson-unqualified-ast
version:       1
author:        Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:    Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:     (c) 2023 Nikita Volkov
license:       MIT
license-file:  LICENSE
synopsis:      Aliases to "aeson" AST making it importable unqualified
description:
  Reasonable type aliases and patterns for the AST definitions of \"aeson\",
  which are unlikely to cause any conflicts when imported unqualified.
  As such the definitions from this package are safe to reexport from custom preludes.
  .
  The package provides a "Json" type alias and pattern synonyms,
  which are both descriptive and unambiguous, unlike the ones in the \"aeson\" package.

common language-settings
  default-language:   Haskell2010
  default-extensions:
    NoImplicitPrelude
    ImportQualifiedPost
    PatternSynonyms

library
  import:          language-settings
  hs-source-dirs:  src/library
  exposed-modules: Data.Aeson.UnqualifiedAst
  build-depends:
    , aeson >=2 && <3
    , base >=4.5 && <5
    , scientific >=0.3.7.0 && <0.4
    , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2
    , vector >=0.13 && <0.14