case classTree[A](value: A, children: Identity[LazyList[Tree[A]]]) extends Product with Serializable
NOTE: This differs from the Haskell version by not having an effect on the Node for performance reasons.
See haskell-difference.md for more information.
FIXME The LazyList here is critical to avoid running extra tests during shrinking.
The alternative might be something like:
https://github.com/hedgehogqa/scala-hedgehog/compare/topic/issue-66-lazy-shrinking
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
NOTE: This differs from the Haskell version by not having an effect on the
Node
for performance reasons. Seehaskell-difference.md
for more information.FIXME The
LazyList
here is critical to avoid running extra tests during shrinking. The alternative might be something like: https://github.com/hedgehogqa/scala-hedgehog/compare/topic/issue-66-lazy-shrinking