groom 0.1.2 → 0.1.2.1
raw patch · 3 files changed
+38/−3 lines, 3 filesdep +groomdep ~basenew-component:exe:groomPVP ok
version bump matches the API change (PVP)
Dependencies added: groom
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- LICENSE +27/−0
- groom.cabal +9/−3
- main/Main.hs +2/−0
+ LICENSE view
@@ -0,0 +1,27 @@+Copyright (c) Edward Z. Yang 2017++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions+are met:+1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.+2. Redistributions in binary form must reproduce the above copyright+ notice, this list of conditions and the following disclaimer in the+ documentation and/or other materials provided with the distribution.+3. Neither the name of the author nor the names of his contributors+ may be used to endorse or promote products derived from this software+ without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF+SUCH DAMAGE.
groom.cabal view
@@ -1,5 +1,5 @@ Name: groom-Version: 0.1.2+Version: 0.1.2.1 Synopsis: Pretty printing for well-behaved Show instances. Description: Automatically derived Show instances are an easy way@@ -24,14 +24,20 @@ Groom works only on Show instances that output valid Haskell code; if Groom can't understand its input, it will not make any changes.-License: PublicDomain+License: BSD3+License-File: LICENSE Author: Edward Z. Yang Maintainer: ezyang@mit.edu Category: Text Build-type: Simple-Cabal-version: >=1.2+Cabal-version: >=1.8 Library Exposed-modules: Text.Groom Build-depends: haskell-src-exts >= 1.0.0, base >= 3 && < 5++executable groom+ main-is: Main.hs+ hs-source-dirs: main+ build-depends: groom, base
+ main/Main.hs view
@@ -0,0 +1,2 @@+import Text.Groom+main = getContents >>= putStrLn . groomString