mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Re-export Edit.
This commit is contained in:
parent
9ef511b6f1
commit
86389e8e87
@ -3,7 +3,6 @@ module Diffing.Interpreter.Spec (spec, afterTerm, beforeTerm) where
|
|||||||
|
|
||||||
import Control.Applicative ((<|>))
|
import Control.Applicative ((<|>))
|
||||||
import Data.Diff
|
import Data.Diff
|
||||||
import Data.Edit (edit)
|
|
||||||
import Data.Foldable (asum)
|
import Data.Foldable (asum)
|
||||||
import Data.Functor.Foldable (cata)
|
import Data.Functor.Foldable (cata)
|
||||||
import Data.Functor.Listable
|
import Data.Functor.Listable
|
||||||
@ -18,7 +17,7 @@ import Test.Hspec (Spec, describe, it)
|
|||||||
import Test.Hspec.Expectations
|
import Test.Hspec.Expectations
|
||||||
import Test.Hspec.LeanCheck
|
import Test.Hspec.LeanCheck
|
||||||
import Test.LeanCheck.Core
|
import Test.LeanCheck.Core
|
||||||
import SpecHelpers ()
|
import SpecHelpers (edit)
|
||||||
|
|
||||||
spec :: Spec
|
spec :: Spec
|
||||||
spec = do
|
spec = do
|
||||||
|
@ -7,7 +7,6 @@ import Control.Effect.Reader
|
|||||||
import Data.Aeson hiding (defaultOptions)
|
import Data.Aeson hiding (defaultOptions)
|
||||||
import Data.Bifunctor
|
import Data.Bifunctor
|
||||||
import Data.Diff
|
import Data.Diff
|
||||||
import Data.Edit
|
|
||||||
import Data.Either (isRight)
|
import Data.Either (isRight)
|
||||||
import Data.Sum
|
import Data.Sum
|
||||||
import Data.Term
|
import Data.Term
|
||||||
|
@ -61,6 +61,7 @@ import Debug.Trace as X (traceShowM, traceM)
|
|||||||
|
|
||||||
import Data.ByteString as X (ByteString)
|
import Data.ByteString as X (ByteString)
|
||||||
import Data.Functor.Both as X (Both (Both), runBothWith)
|
import Data.Functor.Both as X (Both (Both), runBothWith)
|
||||||
|
import Data.Edit as X
|
||||||
import Data.Maybe as X
|
import Data.Maybe as X
|
||||||
import Data.Monoid as X (Monoid(..), First(..), Last(..))
|
import Data.Monoid as X (Monoid(..), First(..), Last(..))
|
||||||
import Data.Semigroup as X (Semigroup(..))
|
import Data.Semigroup as X (Semigroup(..))
|
||||||
|
Loading…
Reference in New Issue
Block a user