hgeometry-0.7.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Test.QuickCheck.HGeometryInstances

Contents

Orphan instances

Arbitrary a => Arbitrary (BinaryTree a) Source # 
Instance details

(Arbitrary a, Ord a) => Arbitrary (OrdSeq a) Source # 
Instance details

Methods

arbitrary :: Gen (OrdSeq a) #

shrink :: OrdSeq a -> [OrdSeq a] #

(Arbitrary r, Ord r) => Arbitrary (Range r) Source # 
Instance details

Methods

arbitrary :: Gen (Range r) #

shrink :: Range r -> [Range r] #

Arbitrary r => Arbitrary (EndPoint r) Source # 
Instance details

Methods

arbitrary :: Gen (EndPoint r) #

shrink :: EndPoint r -> [EndPoint r] #

Arbitrary a => Arbitrary (Seq2 a) Source # 
Instance details

Methods

arbitrary :: Gen (Seq2 a) #

shrink :: Seq2 a -> [Seq2 a] #

(Arbitrary a, Arbitrary v) => Arbitrary (BinLeafTree v a) Source # 
Instance details

Methods

arbitrary :: Gen (BinLeafTree v a) #

shrink :: BinLeafTree v a -> [BinLeafTree v a] #

(Arbitrary c, Arbitrary e) => Arbitrary (c :+ e) Source # 
Instance details

Methods

arbitrary :: Gen (c :+ e) #

shrink :: (c :+ e) -> [c :+ e] #

(Arbitrary r, Arity d) => Arbitrary (Vector d r) Source # 
Instance details

Methods

arbitrary :: Gen (Vector d r) #

shrink :: Vector d r -> [Vector d r] #

(Arbitrary r, Arity d) => Arbitrary (Point d r) Source # 
Instance details

Methods

arbitrary :: Gen (Point d r) #

shrink :: Point d r -> [Point d r] #

(Arbitrary r, Arity d, Num r, Eq r) => Arbitrary (Line d r) Source # 
Instance details

Methods

arbitrary :: Gen (Line d r) #

shrink :: Line d r -> [Line d r] #

(Arbitrary r, Arbitrary p, Ord r, Ord p) => Arbitrary (Interval p r) Source # 
Instance details

Methods

arbitrary :: Gen (Interval p r) #

shrink :: Interval p r -> [Interval p r] #

(KnownNat n, Arbitrary a) => Arbitrary (LSeq n a) Source # 
Instance details

Methods

arbitrary :: Gen (LSeq n a) #

shrink :: LSeq n a -> [LSeq n a] #

(Arbitrary r, Arity d, Ord r) => Arbitrary (Box d () r) Source # 
Instance details

Methods

arbitrary :: Gen (Box d () r) #

shrink :: Box d () r -> [Box d () r] #

(Arbitrary r, Arbitrary p, Arity d, Ord r, Ord p, Num r) => Arbitrary (SubLine d p r) Source # 
Instance details

Methods

arbitrary :: Gen (SubLine d p r) #

shrink :: SubLine d p r -> [SubLine d p r] #

(Arbitrary r, Arbitrary p, Arity d) => Arbitrary (LineSegment d p r) Source # 
Instance details

Methods

arbitrary :: Gen (LineSegment d p r) #

shrink :: LineSegment d p r -> [LineSegment d p r] #