Hacker News new | ask | show | jobs
by SamReidHughes 4461 days ago
> There's no need to register factory instances inside of some singleton object at startup, the type system can infer which Generic components are needed where.

You would only need to do that if you wanted to define custom behavior, instead of automatically derived behavior, and registering a few delegates is the same amount of work as manually implementing an instance of Arbitrary and CoArbitrary.

1 comments

Yep. The only really-real difference is compile time checking.