[Haskell-cafe] SmallCheck Depth

Kim-Ee Yeoh ky3 at atamo.com
Wed Feb 11 10:15:56 UTC 2015


On Wed, Feb 11, 2015 at 11:28 AM, Richard A. O'Keefe <ok at cs.otago.ac.nz>
wrote:

>
> On 11/02/2015, at 4:53 pm, Kim-Ee Yeoh <ky3 at atamo.com> wrote:
> > I think Roman defines "depth" that way because it counts the total
> number of constructors (i.e. tree nodes) in the path.
>
> That is a perfectly reasonable thing to count, but "depth" is not a good
> name for it.


Agreed. How about "weight"? As Pacman eats pellets traversing the tree he
gains weight.

-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150211/25fc7a3b/attachment.html>


More information about the Haskell-Cafe mailing list