git.iko.soy/typeable/random-token
on master help sign in
[GenFly] Remove dependencies (#4863)
commita115c45f1a07c836202aa28f26aee7dc3cb02931 authoriko <ilyakooo0@gmail.com> dateWed 26 Aug 2020, 16:04 (6 years ago) parent39093be
1 file changed−2
src/Random/Token.hs−2
src/Random/Token.hs−2
@@ -27,8 +27,6 @@ import Database.PostgreSQL.Simple.ToField
2727newtype Token (a :: k) = Token ByteString
2828 deriving (Ord, Eq, Show, NFData)
2929
30−type role Token nominal
31−
3230instance Arbitrary (Token a) where
3331 arbitrary = fmap (Token . BS.pack) $ sequence $ L.replicate 16 arbitrary
3432