1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 02:58:36 +03:00

Rename the import of Data.Text.

This commit is contained in:
Rob Rix 2019-09-24 17:04:53 -04:00
parent 661b414df4
commit ea2d2ca324
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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