Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.QuickCheck.Union
Documentation
newtype Union (target :: Type) (alternatives :: [Type]) #
Constructors
Union target |
Instances
(Coercible target alt, Arbitrary alt) => Arbitrary (Union target '[alt]) # | |
(TypeListLenght as, KnownNat (ListLenght as), 1 <= ListLenght as, Coercible target alt, Arbitrary alt, Arbitrary (Union target as)) => Arbitrary (Union target (alt ': as)) # | |
(Show target, AllConstraint (Coercible target) alternatives) => Show (Union target alternatives) # | |