From b375ba18d477028de3cfb6e53faa3264c90b4ccc Mon Sep 17 00:00:00 2001 From: Judah Jacobson Date: Sun, 14 Jul 2019 14:38:05 -0700 Subject: [PATCH] Cabal description for Hackage. (#9) --- README.md | 2 +- package.yaml | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e466eb9..72ac4b2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ghc-source-gen `ghc-source-gen` is a Haskell library for generating Haskell source files and -code fragments. It uses GHC's [library API] for the latest up-to-date syntax, and +code fragments. It uses GHC's [library API] to support the latest syntax, and provides a simple, consistent interface across several major versions of GHC. To get started, take a look at the [example](#example) below, or check out the diff --git a/package.yaml b/package.yaml index 11264a0..dba6c8b 100644 --- a/package.yaml +++ b/package.yaml @@ -18,7 +18,15 @@ extra-source-files: synopsis: Constructs Haskell syntax trees for the GHC API. category: Development -description: Please see the README on GitHub at +description: | + @ghc-source-gen@ is a library for generating Haskell source code. + It uses the library + to support recent language extensions, and provides a simple, consistent + interface across several major versions of GHC. + . + To get started, take a look at the "GHC.SourceGen" module. + . + For more information, please see the . dependencies: - base >= 4.7 && < 5