packages feed

JSON-Combinator-0.1.0: JSON-Combinator.cabal

Name:               JSON-Combinator
Version:            0.1.0
License:            BSD3
License-File:       LICENSE
Author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
Maintainer:         Tony Morris
Synopsis:           A combinator library on top of a generalised JSON type
Category:           Combinator
Description:
  A combinator library on top of a generalised JSON type. The highest-level module is
  @Text.JSON.Combinator@ and it is expected that no other module need to be explicitly imported.
  .
  Instances for the combinators are provided for two libraries available on hackage:
  .
    * json (@Text.JSON@)
    .
    * JSONb (@Text.JSONb@)
Cabal-version:      >= 1.2
Build-Type:         Simple

Flag small_base
  Description:      Choose the new, split-up base package.

Library
  Build-Depends:
                    base < 5 && >= 4
                    , JSONb
                    , json
                    , bytestring
                    , bytestring-trie

  GHC-Options:      -Wall

  Exposed-Modules:  Text.JSON.Combinator
                    , Text.JSON.JSONLike
                    , Text.JSON.JSONField
                    , Text.JSON.JSONPrepend
                    , Text.JSON.JSONParse
                    , Text.JSON.JSONPrint
                    , Text.JSON.Interact
                    , Text.JSON.InteractFile