1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Add a Separated newtype.

This commit is contained in:
Rob Rix 2016-03-11 09:12:00 -05:00
parent 1268f07c8a
commit 1e360dca67

View File

@ -6,3 +6,6 @@ import Test.QuickCheck
instance Arbitrary a => Arbitrary (Adjoined a) where
arbitrary = fromList <$> arbitrary
newtype Separated a = Separated { unSeparated :: a }
deriving (Eq, Functor, Show)