Skip to content

Commit 1442d32

Browse files
authored
Merge pull request #1 from asr/issue-2
[ fixed hackage-trustees#2 ] Removed instances defined by regex-base 0.94.0.0.
2 parents bf52485 + dab1fa1 commit 1442d32

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

Text/Regex/TDFA/Text.hs

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ import Text.Regex.TDFA.NewDFA.Uncons(Uncons(uncons))
3838
import qualified Text.Regex.TDFA.NewDFA.Engine as Engine(execMatch)
3939
import qualified Text.Regex.TDFA.NewDFA.Tester as Tester(matchTest)
4040

41-
instance Extract T.Text where
42-
before = T.take; after = T.drop; empty = T.empty
43-
4441
instance Uncons T.Text where
4542
{- INLINE uncons #-}
4643
uncons = T.uncons

Text/Regex/TDFA/Text/Lazy.hs

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ import Text.Regex.TDFA.NewDFA.Uncons(Uncons(uncons))
3838
import qualified Text.Regex.TDFA.NewDFA.Engine as Engine(execMatch)
3939
import qualified Text.Regex.TDFA.NewDFA.Tester as Tester(matchTest)
4040

41-
instance Extract L.Text where
42-
before = L.take . toEnum; after = L.drop . toEnum; empty = L.empty
43-
4441
instance RegexContext Regex L.Text L.Text where
4542
match = polymatch
4643
matchM = polymatchM

regex-tdfa-text.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source-repository head
1919
location: http://hub.darcs.net/shelarcy/regex-tdfa-text
2020

2121
library
22-
Build-Depends: base >= 3 && < 5,array,text,regex-base,regex-tdfa >= 1.1.1
22+
Build-Depends: base >= 3 && < 5,array,text,regex-base >= 0.94.0.0,regex-tdfa >= 1.1.1
2323
Exposed-Modules: Text.Regex.TDFA.Text
2424
Text.Regex.TDFA.Text.Lazy
2525
Buildable: True

0 commit comments

Comments
 (0)