mirror of
https://github.com/github/semantic.git
synced 2024-12-29 01:42:43 +03:00
Add a Separated newtype.
This commit is contained in:
parent
1268f07c8a
commit
1e360dca67
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user