You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database/Persist/PersistValue.hs:78:24: error: [GHC-39999]
• No instance for ‘NFData Text’ arising from a use of ‘rnf’
• In the expression: rnf txt
In a case alternative: PersistText txt -> rnf txt
In the expression:
case val of
PersistText txt -> rnf txt
PersistByteString bs -> rnf bs
PersistInt64 i -> rnf i
PersistDouble d -> rnf d
PersistRational q -> rnf q
PersistBool b -> rnf b
PersistDay d -> rnf d
PersistTimeOfDay t -> rnf t
PersistUTCTime t -> rnf t
PersistNull -> ()
PersistList vals -> rnf vals
PersistMap vals -> rnf vals
PersistObjectId bs -> rnf bs
PersistArray vals -> rnf vals
PersistLiteral_ ty bs -> ty seq rnf bs
|
78 | PersistText txt -> rnf txt
| ^^^
GHC 9.8.2
The text was updated successfully, but these errors were encountered:
[ 3 of 46] Compiling Database.Persist.PersistValue ( Database/Persist/PersistValue.hs, dist/build/Database/Persist/PersistValue.o, dist/build/Database/Persist
/PersistValue.dyn_o )
Database/Persist/PersistValue.hs:78:24: error: [GHC-39999]
• No instance for ‘NFData Text’ arising from a use of ‘rnf’
• In the expression: rnf txt
In a case alternative: PersistText txt -> rnf txt
In the expression:
case val of
PersistText txt -> rnf txt
PersistByteString bs -> rnf bs
PersistInt64 i -> rnf i
PersistDouble d -> rnf d
PersistRational q -> rnf q
PersistBool b -> rnf b
PersistDay d -> rnf d
PersistTimeOfDay t -> rnf t
PersistUTCTime t -> rnf t
PersistNull -> ()
PersistList vals -> rnf vals
PersistMap vals -> rnf vals
PersistObjectId bs -> rnf bs
PersistArray vals -> rnf vals
PersistLiteral_ ty bs -> ty
seq
rnf bs|
78 | PersistText txt -> rnf txt
| ^^^
GHC 9.8.2
The text was updated successfully, but these errors were encountered: