summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.markdown13
-rw-r--r--examples/Bad.hs6
2 files changed, 7 insertions, 12 deletions
diff --git a/README.markdown b/README.markdown
index a482387..73c6f97 100644
--- a/README.markdown
+++ b/README.markdown
@@ -7,9 +7,10 @@ Introduction
------------
A simple Haskell code prettifier. The goal is not to format all of the code in
-a file, since I find those kind of tools often "get in the way".
+a file, since I find those kind of tools often "get in the way". However,
+manually cleaning up import statements etc. gets tedious very quickly.
-Instead, this tool just tries to help where necessary.
+This tool tries to help where necessary without getting in the way.
You can install it using `cabal install stylish-haskell`.
@@ -30,12 +31,10 @@ Example
Turns:
- -- | Some badly formatted Haskell code
-
{-# LANGUAGE ViewPatterns, TemplateHaskell #-}
{-# LANGUAGE GeneralizedNewtypeDeriving,
- ViewPatterns,
- ScopedTypeVariables #-}
+ ViewPatterns,
+ ScopedTypeVariables #-}
module Bad where
@@ -47,8 +46,6 @@ Turns:
into:
- -- | Some badly formatted Haskell code
-
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
diff --git a/examples/Bad.hs b/examples/Bad.hs
index d7e1ce1..c4d6dc6 100644
--- a/examples/Bad.hs
+++ b/examples/Bad.hs
@@ -1,9 +1,7 @@
--- | Some badly formatted Haskell code
-
{-# LANGUAGE ViewPatterns, TemplateHaskell #-}
{-# LANGUAGE GeneralizedNewtypeDeriving,
- ViewPatterns,
- ScopedTypeVariables #-}
+ ViewPatterns,
+ ScopedTypeVariables #-}
module Bad where