packages feed

nicify 0.9 → 1.0

raw patch · 2 files changed

+12/−4 lines, 2 files

Files

nicify.cabal view
@@ -1,5 +1,5 @@ Name:           nicify-Version:        0.9+Version:        1.0 Synopsis:       Pretty print the standard output of show for algebraic datatypes Description:    Pretty print the standard output of show for algebraic datatypes                 @@ -9,8 +9,12 @@ Maintainer:     Julian Fleischer <julian.fleischer@fu-berlin.de> Build-Type:     Simple Cabal-Version:  >= 1.8-Category:       Data+Category:       Text, Tools Stability:      stable++Source-Repository head+    type: darcs+    location: http://hub.darcs.net/scravy/nicify  Library     Exposed-Modules:    Text.Nicify
src/Text/Nicify.hs view
@@ -1,4 +1,6 @@-{-# LANGUAGE Haskell2010 #-}+{-# LANGUAGE Haskell2010+    , DeriveDataTypeable+ #-} {-# OPTIONS     -Wall     -fno-warn-unused-do-bind@@ -13,6 +15,8 @@     printX'   ) where ++import Data.Data import Data.Functor.Identity import Text.Parsec @@ -22,7 +26,7 @@        | XBrackets [X]        | XAnything String        | XSep-    deriving Show+    deriving (Show, Read, Eq, Data, Typeable)   nicify :: String -> String