mirror of
https://github.com/aelve/guide.git
synced 2024-12-23 12:52:31 +03:00
Fix a silly bug with SafeCopy
This commit is contained in:
parent
e001e2823e
commit
c04adb3239
@ -190,7 +190,7 @@ newtype Uid a = Uid {uidToText :: Text}
|
||||
-- • In the instance declaration for ‘SafeCopy (Uid a)’
|
||||
instance SafeCopy (Uid a) where
|
||||
putCopy = contain . safePut . uidToText
|
||||
getCopy = contain safeGet
|
||||
getCopy = contain (Uid <$> safeGet)
|
||||
version = 2
|
||||
kind = base
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user