5 ms·
I'm interested in what you think of ScalaCheck[1]. It looks like at least someone is doing it. [1] http://scalacheck.org/ http://scalacheck.org/
by seth1010 12y ago
I'm interested in what you think of ScalaCheck[1]. It looks like at least someone is doing it.
[1] http://scalacheck.org/ http://scalacheck.org/
- coolsunglasses 12y agoBased on the documentation: https://github.com/rickynils/scalacheck/wiki/User-Guide#generators https://github.com/rickynils/scalacheck/wiki/User-Guide#gene... It cannot derive random generation behavior (Arbitrary typeclass in Haskell) for arbitrary data types. You have to write the generators yourself using the Generator class. Which goes back to my point about generics, typeclass instance derivation, and the boilerplate using Haskell kills dead.