1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00
This commit is contained in:
Rob Rix 2016-03-11 10:20:40 -05:00
parent d765101aa2
commit c9c24894e3

View File

@ -25,9 +25,11 @@ monoid gen =
prop "mappend is associative" $ forAll gen $
\ a b c -> (a `mappend` b) `mappend` c `shouldBe` a `mappend` (b `mappend` c)
instance Arbitrary a => Arbitrary (Adjoined a) where
arbitrary = fromList <$> arbitrary
-- | A wrapper which never coalesces values.
newtype Uncoalesced a = Uncoalesced { runUncoalesced :: a }
deriving (Eq, Functor, Show)