hgeometry-combinatorial:quickcheck
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageGHC2021

HGeometry.Combinatorial.Instances

Description

Arbitrary instances for the types in hgeometry-combinatorial

Synopsis

    Symbolic instances

    Binary tree instances

    Orphan instances

    Arbitrary Sign Source # 
    Instance details

    (Arbitrary a, Num a, Eq a) => Arbitrary (GRatio a) Source # 
    Instance details

    Methods

    arbitrary :: Gen (GRatio a) Source #

    shrink :: GRatio a -> [GRatio a] Source #

    KnownNat p => Arbitrary (RealNumber p) Source # 
    Instance details

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

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

    Methods

    arbitrary :: Gen (c :+ e) Source #

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

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