Remove unnecessary Regex constraint
This commit is contained in:
parent
eb3e6fe8e1
commit
08ca1ee6e9
|
@ -30,7 +30,7 @@ import Text.Regex.TDFA
|
||||||
-- Precompile the regex
|
-- Precompile the regex
|
||||||
mkRegex :: String -> Regex
|
mkRegex :: String -> Regex
|
||||||
mkRegex str =
|
mkRegex str =
|
||||||
let make :: RegexMaker Regex CompOption ExecOption String => String -> Regex
|
let make :: String -> Regex
|
||||||
make = makeRegex
|
make = makeRegex
|
||||||
in
|
in
|
||||||
make str
|
make str
|
||||||
|
|
Loading…
Reference in New Issue