change to newtype
This commit is contained in:
parent
ea55609e54
commit
a3913f52e5
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ data SomeAddr = IPv4Addr HostAddress | IPv6Addr HostAddress6
|
||||||
|
|
||||||
{- This contains the whole secret, just lightly obfuscated to make it not
|
{- This contains the whole secret, just lightly obfuscated to make it not
|
||||||
- too obvious. It's only displayed in the user's web browser. -}
|
- too obvious. It's only displayed in the user's web browser. -}
|
||||||
data SecretReminder = SecretReminder [Int]
|
newtype SecretReminder = SecretReminder [Int]
|
||||||
deriving (Show, Eq, Ord, Read)
|
deriving (Show, Eq, Ord, Read)
|
||||||
|
|
||||||
toSecretReminder :: T.Text -> SecretReminder
|
toSecretReminder :: T.Text -> SecretReminder
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue