From bd1d71744967b83b4cba015ddb01e575fb2e1309 Mon Sep 17 00:00:00 2001 From: forketyfork Date: Thu, 27 Aug 2020 17:33:05 +0200 Subject: [PATCH] Closes #76. Renamed OutputPrinter module to Printer and fixed a small typo. --- README.md | 2 +- pretty-simple.cabal | 2 +- src/Text/Pretty/Simple/Internal.hs | 2 +- src/Text/Pretty/Simple/Internal/Color.hs | 2 +- .../Pretty/Simple/Internal/{OutputPrinter.hs => Printer.hs} | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) rename src/Text/Pretty/Simple/Internal/{OutputPrinter.hs => Printer.hs} (99%) diff --git a/README.md b/README.md index fc93a59..7a892df 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ more deeply nested. It would be even more difficult to read. `pretty-simple` can be easily used from `ghci` when debugging. -When using `stack` to run `ghci`, just append append the `--package` flag to +When using `stack` to run `ghci`, just append the `--package` flag to the command line to load `pretty-simple`. ```sh diff --git a/pretty-simple.cabal b/pretty-simple.cabal index cb7543c..381ef29 100644 --- a/pretty-simple.cabal +++ b/pretty-simple.cabal @@ -36,7 +36,7 @@ library , Text.Pretty.Simple.Internal.Color , Text.Pretty.Simple.Internal.Expr , Text.Pretty.Simple.Internal.ExprParser - , Text.Pretty.Simple.Internal.OutputPrinter + , Text.Pretty.Simple.Internal.Printer build-depends: base >= 4.8 && < 5 , containers , mtl >= 2.2 diff --git a/src/Text/Pretty/Simple/Internal.hs b/src/Text/Pretty/Simple/Internal.hs index eeab31c..8fcd580 100644 --- a/src/Text/Pretty/Simple/Internal.hs +++ b/src/Text/Pretty/Simple/Internal.hs @@ -14,4 +14,4 @@ module Text.Pretty.Simple.Internal import Text.Pretty.Simple.Internal.Color as X import Text.Pretty.Simple.Internal.ExprParser as X import Text.Pretty.Simple.Internal.Expr as X -import Text.Pretty.Simple.Internal.OutputPrinter as X +import Text.Pretty.Simple.Internal.Printer as X diff --git a/src/Text/Pretty/Simple/Internal/Color.hs b/src/Text/Pretty/Simple/Internal/Color.hs index cbd3be1..6674508 100644 --- a/src/Text/Pretty/Simple/Internal/Color.hs +++ b/src/Text/Pretty/Simple/Internal/Color.hs @@ -10,7 +10,7 @@ {-# LANGUAGE TemplateHaskell #-} {-| -Module : Text.Pretty.Simple.Internal.OutputPrinter +Module : Text.Pretty.Simple.Internal.Color Copyright : (c) Dennis Gosnell, 2016 License : BSD-style (see LICENSE file) Maintainer : cdep.illabout@gmail.com diff --git a/src/Text/Pretty/Simple/Internal/OutputPrinter.hs b/src/Text/Pretty/Simple/Internal/Printer.hs similarity index 99% rename from src/Text/Pretty/Simple/Internal/OutputPrinter.hs rename to src/Text/Pretty/Simple/Internal/Printer.hs index de19a5e..5c43487 100644 --- a/src/Text/Pretty/Simple/Internal/OutputPrinter.hs +++ b/src/Text/Pretty/Simple/Internal/Printer.hs @@ -9,7 +9,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-| -Module : Text.Pretty.Simple.Internal.OutputPrinter +Module : Text.Pretty.Simple.Internal.Printer Copyright : (c) Dennis Gosnell, 2016 License : BSD-style (see LICENSE file) Maintainer : cdep.illabout@gmail.com @@ -17,7 +17,7 @@ Stability : experimental Portability : POSIX -} -module Text.Pretty.Simple.Internal.OutputPrinter +module Text.Pretty.Simple.Internal.Printer where -- We don't need these imports for later GHCs as all required functions