1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00

Rename the SplitDiff module to Data.SplitDiff.

This commit is contained in:
Rob Rix 2017-09-27 12:43:11 -04:00
parent b31043a3eb
commit 1cab700d82
5 changed files with 6 additions and 6 deletions

View File

@ -31,6 +31,7 @@ library
, Data.Record
, Data.Source
, Data.Span
, Data.SplitDiff
, Data.Syntax
, Data.Syntax.Algebra
, Data.Syntax.Assignment
@ -76,7 +77,6 @@ library
, Semantic.Util
, SemanticCmdLine
, SES
, SplitDiff
, Syntax
, TreeSitter
build-depends: base >= 4.8 && < 5

View File

@ -24,14 +24,14 @@ import Data.List (partition, sortBy)
import Data.Maybe (catMaybes, fromJust, listToMaybe)
import Data.Patch
import Data.Range
import Data.Record
import Data.Semigroup ((<>))
import Data.Source
import Data.Record
import Data.SplitDiff
import Data.Term
import Data.These
import Info (byteRange, setByteRange)
import Prelude hiding (fst, snd)
import SplitDiff
-- | Assign line numbers to the lines on each side of a list of rows.
numberedRows :: [Join These a] -> [Join These (Int, a)]

View File

@ -1,4 +1,4 @@
module SplitDiff where
module Data.SplitDiff where
import Control.Monad.Free
import Data.Record

View File

@ -22,9 +22,9 @@ import Data.Range
import Data.Record
import Data.Semigroup ((<>))
import Data.Source
import Data.SplitDiff
import Data.These
import Prelude hiding (fst, snd)
import SplitDiff
-- | Render a timed out file as a truncated diff.
truncatePatch :: Both Blob -> ByteString

View File

@ -18,10 +18,10 @@ import Data.Range
import Data.Record
import Data.Semigroup ((<>))
import qualified Data.Source as Source
import Data.SplitDiff
import Data.Term
import qualified Data.Text as Text
import Data.These
import SplitDiff
import Syntax
import Test.Hspec (Spec, describe, it, parallel)
import Test.Hspec.Expectations.Pretty