From ea2d2ca324a42ec945e2189ff0c6c4427e3b2aa1 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 24 Sep 2019 17:04:53 -0400 Subject: [PATCH] Rename the import of Data.Text. --- semantic-tags/src/Language/Python/Tags.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic-tags/src/Language/Python/Tags.hs b/semantic-tags/src/Language/Python/Tags.hs index ef13706ca..9fa161cfa 100644 --- a/semantic-tags/src/Language/Python/Tags.hs +++ b/semantic-tags/src/Language/Python/Tags.hs @@ -9,7 +9,7 @@ import Data.Foldable (traverse_) import Data.Maybe (listToMaybe) import Data.Monoid (Ap(..)) import Data.List.NonEmpty (NonEmpty(..)) -import Data.Text as T +import Data.Text as Text import GHC.Generics import Source.Loc import Source.Range @@ -108,7 +108,7 @@ docComment src (R1 (Py.ExpressionStatementSimpleStatement (Py.ExpressionStatemen docComment _ _ = Nothing firstLine :: Source -> Text -firstLine = T.takeWhile (/= '\n') . toText . Source.take 180 +firstLine = Text.takeWhile (/= '\n') . toText . Source.take 180 instance (Generic1 t, Tags.GFoldable1 ToTags (Rep1 t)) => ToTagsBy 'Generic t where