← All packages

prettyprinter-ansi-terminal1.1.4

ANSI terminal backend for the »prettyprinter« package.

Open the imported Cabal file ↗

author
David Luposchainsky
bug-reports
http://github.com/quchen/prettyprinter/issues
build-type
Simple
cabal-version
>= 1.10
category
User Interfaces, Text
extra-source-files
README.md , misc/version-compatibility-macros.h , CHANGELOG.md
homepage
http://github.com/quchen/prettyprinter
license
BSD2
license-file
LICENSE.md
maintainer
Simon Jakobi <simon.jakobi@gmail.com>, David Luposchainsky <dluposchainsky at google>
name
prettyprinter-ansi-terminal
synopsis
ANSI terminal backend for the »prettyprinter« package.
tested-with
GHC==9.14.1, GHC==9.12.2, GHC==9.10.3, GHC==9.8.4, GHC==9.6.7, GHC==9.4.8, GHC==9.2.8, GHC==9.0.2, GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2
version
1.1.4
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "prettyprinter-ansi-terminal",
  "version": "1.1.4",
  "cabalVersion": "1.10",
  "buildType": "Simple",
  "fields": {
    "author": [
      "David Luposchainsky"
    ],
    "bug-reports": [
      "http://github.com/quchen/prettyprinter/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      ">= 1.10"
    ],
    "category": [
      "User Interfaces, Text"
    ],
    "description": [
      "See README.md"
    ],
    "extra-source-files": [
      "README.md\n, misc/version-compatibility-macros.h\n, CHANGELOG.md"
    ],
    "homepage": [
      "http://github.com/quchen/prettyprinter"
    ],
    "license": [
      "BSD2"
    ],
    "license-file": [
      "LICENSE.md"
    ],
    "maintainer": [
      "Simon Jakobi <simon.jakobi@gmail.com>, David Luposchainsky <dluposchainsky at google>"
    ],
    "name": [
      "prettyprinter-ansi-terminal"
    ],
    "synopsis": [
      "ANSI terminal backend for the »prettyprinter« package."
    ],
    "tested-with": [
      "GHC==9.14.1, GHC==9.12.2, GHC==9.10.3, GHC==9.8.4, GHC==9.6.7, GHC==9.4.8, GHC==9.2.8, GHC==9.0.2, GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2"
    ],
    "version": [
      "1.1.4"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Data.Text.Prettyprint.Doc.Render.Terminal",
            "Data.Text.Prettyprint.Doc.Render.Terminal.Internal",
            "Prettyprinter.Render.Terminal",
            "Prettyprinter.Render.Terminal.Internal"
          ],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.9 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "ansi-terminal",
              "range": ">=0.4.0",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "prettyprinter",
              "range": ">=1.7.0",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "flag": "text"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "text",
                    "range": ">=1.2",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [
                  "Data.Text",
                  "Data.Text.IO",
                  "Data.Text.Lazy",
                  "Data.Text.Lazy.Builder"
                ],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            }
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "doctest",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.9 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "doctest",
              "range": ">=0.9",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": []
      }
    },
    {
      "kind": "benchmark",
      "name": "large-output",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.9 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "base-compat",
              "range": ">=0.9.3 && <0.15",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "deepseq",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-bench",
              "range": ">=0.2",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "prettyprinter",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "prettyprinter-ansi-terminal",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "QuickCheck",
              "range": ">=2.8",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "text",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": []
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "text",
      "default": true,
      "manual": true,
      "description": "While it's a core value of @prettyprinter@ packages to use @Text@, there are rare\ncircumstances (mostly when @prettyprinter@ arises as a dependency of\ntest suites of packages like @bytestring@ or @text@ themselves) when\nthis is inconvenient. In this case one can disable this flag, so that\n@prettyprinter-ansi-terminal@ fallbacks to @String@."
    }
  ],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/quchen/prettyprinter"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/prettyprinter-ansi-terminal-1.1.4/prettyprinter-ansi-terminal.cabal",
  "sha256": "5184ba6002a650de3307547347eaba19bdc9b82eb68e943f406818caa215ce4f",
  "importedAt": "2026-10-14T12:43:11.177Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.9 && <5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "ansi-terminal",
      "range": ">=0.4.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "prettyprinter",
      "range": ">=1.7.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "text",
      "range": ">=1.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "text"
        }
      ]
    },
    {
      "package": "base",
      "range": ">=4.9 && <5",
      "libraries": [
        "main"
      ],
      "component": "test-suite:doctest",
      "conditions": []
    },
    {
      "package": "doctest",
      "range": ">=0.9",
      "libraries": [
        "main"
      ],
      "component": "test-suite:doctest",
      "conditions": []
    },
    {
      "package": "base",
      "range": ">=4.9 && <5",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "base-compat",
      "range": ">=0.9.3 && <0.15",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "containers",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "deepseq",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "tasty-bench",
      "range": ">=0.2",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "prettyprinter",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "prettyprinter-ansi-terminal",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "QuickCheck",
      "range": ">=2.8",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    },
    {
      "package": "text",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:large-output",
      "conditions": []
    }
  ],
  "exposedModules": [
    "Data.Text.Prettyprint.Doc.Render.Terminal",
    "Data.Text.Prettyprint.Doc.Render.Terminal.Internal",
    "Prettyprinter.Render.Terminal",
    "Prettyprinter.Render.Terminal.Internal"
  ],
  "documents": {
    "readme": {
      "status": "available",
      "sha256": "55f2c02b47bf77e7179ae8935c9e660894109fd5f31a7f8e8966fae7e400b3b1",
      "error": null,
      "checkedAt": "2026-10-14T12:43:11.988Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "68b4af4327bd2ea82ddfd5923f31cdd22bed8b573ca05e2236666536765f2874",
      "error": null,
      "checkedAt": "2026-10-14T12:43:12.081Z"
    }
  },
  "documentation": null,
  "versions": [
    {
      "version": "1.1.4",
      "imported_at": "2026-10-14T12:43:11.177Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.