Remove unnecessary Regex constraint

This commit is contained in:
Vidar Holen 2018-12-17 20:15:39 -08:00
parent eb3e6fe8e1
commit 08ca1ee6e9
1 changed files with 1 additions and 1 deletions

View File

@ -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