Database.Persist.TH.++ is Data.Text.append

This commit is contained in:
Joey Hess 2015-02-22 16:05:11 -04:00
parent 66804e14c1
commit 530db25158

View file

@ -557,7 +557,7 @@ mangleCode = flip_colon
{- TH for persistent has some qualified symbols in places
- that are not allowed. -}
persist_dequalify_hack = replace "Database.Persist.TH.++" "++"
persist_dequalify_hack = replace "Database.Persist.TH.++" "`Data.Text.append`"
. replace "Database.Persist.Sql.Class.sqlType" "sqlType"
. replace "Database.Persist.Class.PersistField.toPersistValue" "toPersistValue"
. replace "Database.Persist.Class.PersistField.fromPersistValue" "fromPersistValue"