From 98329e0a3dd4f78b5d815ac3896272ec70904901 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 11 Dec 2025 10:28:11 +0100 Subject: Add remaining haskell book exercises --- Haskell-book/24/language-dot/language-dot.cabal | 59 +++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Haskell-book/24/language-dot/language-dot.cabal (limited to 'Haskell-book/24/language-dot/language-dot.cabal') diff --git a/Haskell-book/24/language-dot/language-dot.cabal b/Haskell-book/24/language-dot/language-dot.cabal new file mode 100644 index 0000000..5463485 --- /dev/null +++ b/Haskell-book/24/language-dot/language-dot.cabal @@ -0,0 +1,59 @@ +name: language-dot +version: 0.0.8 +category: Language +synopsis: A library for the analysis and creation of Graphviz DOT files +description: A library for the analysis and creation of Graphviz DOT files. +author: Brian Lewis +maintainer: Brian Lewis +copyright: (c) 2009 Galois, Inc. +license: BSD3 +license-file: LICENSE + +cabal-version: >= 1.6 +build-type: Custom + +extra-source-files: + src/test.hs + +flag executable + description: Build the `ppdot' executable. + default: True + +library + hs-source-dirs: + src + + exposed-modules: + Language.Dot + Language.Dot.Parser + Language.Dot.Pretty + Language.Dot.Syntax + + build-depends: + base == 4.*, + mtl == 1.* || == 2.*, + parsec == 3.*, + pretty == 1.* + + ghc-options: -Wall + if impl(ghc >= 6.8) + ghc-options: -fwarn-tabs + +executable ppdot + if flag(executable) + buildable: True + else + buildable: False + + hs-source-dirs: + src + + main-is: ppdot.hs + + ghc-options: -Wall + if impl(ghc >= 6.8) + ghc-options: -fwarn-tabs + +source-repository head + type: git + location: git://github.com/bsl/language-dot.git -- cgit v1.2.3