Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
:: (Int -> Int) | This function is applied to the size parameter. It determines
the length of the list in child forests, to prevent this function
from generating trees that are infinitely large. Here, supply a
function that reduces the size parameter by some amount; using
|
-> Gen a | Generates a root label. |
-> Gen (Tree a) |