1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00

Add an Arbitrary instance over Adjoined.

This commit is contained in:
Rob Rix 2016-03-11 09:06:29 -05:00
parent 4e1d4706ee
commit 1268f07c8a

View File

@ -1 +1,8 @@
module Data.Adjoined.Spec where
import Data.Adjoined
import Test.QuickCheck
instance Arbitrary a => Arbitrary (Adjoined a) where
arbitrary = fromList <$> arbitrary