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