genvalidity-containers-1.0.0.0: GenValidity support for containers
Safe HaskellNone
LanguageHaskell2010

Data.GenValidity.Tree

Synopsis

Documentation

genTreeOf :: Gen a -> Gen (Tree a) Source #

Generate a tree of values that are generated as specified.

This takes the size parameter much better into account

Orphan instances

GenValid a => GenValid (Tree a) Source # 
Instance details

Methods

genValid :: Gen (Tree a) #

shrinkValid :: Tree a -> [Tree a] #