howyp / ropes

Stronger strings! Declare your string format as a type, and get parsers, writers, composition and generators for free.

Home Page:https://howyp.github.io/ropes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop Generate class in favour of Scalacheck's Arbitrary

howyp opened this issue · comments

I'm not convinced that our Generate typeclass is really general enough - there probably isn't a way to encapsulate all types of generation into one typeclass (for instance, Scalameter needs a different API)

So the plan is to delete Generate and instead have a sub-module which depends on Scalacheck and provides arbitraries for all Ropes. This will also entail moving all of the tests into a separate module.