cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: c09be156b143855f336e4a1cb5847e88d29f06163780223de49dd8ec74711e3d
name: portray-prettyprinter
version: 0.1.0
synopsis: A portray backend using the prettyprinter package.
description: This provides a
<https://hackage.haskell.org/package/prettyprinter prettyprinter> backend for
<https://hackage.haskell.org/package/portray portray> along with derivable
'Pretty' instances for types with 'Portray' instances.
.
This started out as a copy of
<https://hackage.haskell.org/package/portray-pretty portray-pretty>, and is
still very similar. However, @prettyprinter@ gives more flexibility to
documents at the cost of requiring more behavior to be specified explicitly.
As such, some formats can be nicer with the @prettyprinter@ backend, but as
of the initial release, this backend is less mature and hasn't been used in
practice, so there are likely more formatting bugs. Please do file bugs on
the GitHub issue tracker if you find anything that seems obviously wrong!
category: Text
homepage: https://github.com/google/hs-portray#readme
bug-reports: https://github.com/google/hs-portray/issues
author: Andrew Pritchard <awpr@google.com>
maintainer: Andrew Pritchard <awpr@google.com>
copyright: 2021 Google LLC
license: Apache-2.0
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/google/hs-portray
subdir: portray-prettyprinter
library
exposed-modules:
Data.Portray.Prettyprinter
other-modules:
Paths_portray_prettyprinter
hs-source-dirs:
src
build-depends:
base >=4.12 && <4.16
, portray >=0.1 && <0.2
, portray-diff >=0.1 && <0.2
, prettyprinter
, text >=0.1 && <1.3
default-language: Haskell2010
test-suite PortrayPrettyprinter-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_portray_prettyprinter
hs-source-dirs:
test
build-depends:
HUnit
, base >=4.12 && <4.16
, portray
, portray-diff >=0.1 && <0.2
, portray-prettyprinter
, prettyprinter
, test-framework
, test-framework-hunit
, text >=0.1 && <1.3
default-language: Haskell2010