From b374bc7cc9ab43efbe659f681938ae2c54d01fc8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 7 Jul 2015 01:04:30 -0400 Subject: [PATCH] Restrict Pretty module exports/imports. --- src/Domain.hs | 2 +- src/IPv4Pattern.hs | 2 +- src/Pretty.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Domain.hs b/src/Domain.hs index 8d1e088..3ef6f26 100644 --- a/src/Domain.hs +++ b/src/Domain.hs @@ -25,7 +25,7 @@ import Text.Parsec ( import qualified Text.Parsec as Parsec ( digit, letter) import Text.Parsec.String ( Parser ) -import Pretty +import Pretty ( Pretty(..) ) -- * Digits diff --git a/src/IPv4Pattern.hs b/src/IPv4Pattern.hs index 70322d1..dd95b13 100644 --- a/src/IPv4Pattern.hs +++ b/src/IPv4Pattern.hs @@ -39,7 +39,7 @@ import Text.Parsec ( import Text.Parsec.String ( Parser ) import Text.Read ( readMaybe ) -import Pretty +import Pretty ( Pretty(..) ) -- * Octets diff --git a/src/Pretty.hs b/src/Pretty.hs index 360bd4c..84f9406 100644 --- a/src/Pretty.hs +++ b/src/Pretty.hs @@ -7,7 +7,7 @@ -- way. The 'pretty_print' function then prints the result of -- 'pretty_show' by default. -- -module Pretty +module Pretty ( Pretty(..) ) where import Text.Parsec ( ParseError ) -- 2.44.2