| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Falsify.ShrinkTree
Contents
Description
Hedgehog-style shrink trees
Intended for qualified import.
import Test.Falsify import qualified Test.Falsify.ShrinkTree as ShrinkTree
Synopsis
- newtype ShrinkTree a = WrapShrinkTree {
- unwrapShrinkTree :: Tree a
- unfold :: a -> (a -> [a]) -> ShrinkTree a
Documentation
newtype ShrinkTree a Source #
Hedgehog-style shrink tree
Constructors
| WrapShrinkTree | |
Fields
| |
Instances
| Functor ShrinkTree Source # | |
Defined in Test.Falsify.ShrinkTree Methods fmap :: (a -> b) -> ShrinkTree a -> ShrinkTree b # (<$) :: a -> ShrinkTree b -> ShrinkTree a # | |
| Show a => Show (ShrinkTree a) Source # | |
Defined in Test.Falsify.ShrinkTree Methods showsPrec :: Int -> ShrinkTree a -> ShowS # show :: ShrinkTree a -> String # showList :: [ShrinkTree a] -> ShowS # | |
| Eq a => Eq (ShrinkTree a) Source # | |
Defined in Test.Falsify.ShrinkTree | |
Construction
unfold :: a -> (a -> [a]) -> ShrinkTree a Source #
Quickcheck-style manual shrinking