[Haskell-cafe] Co-arbitrary

Donald Bruce Stewart dons at cse.unsw.edu.au
Tue May 8 04:27:05 EDT 2007


joelr1:
> Would someone kindly explain why we need co-arbitrary in QuickCheck  
> and how to define it?

Generating random function generators.

A nice explanation was given recently on the programming subreddit:

    "The CoArbitrary class continues to confuse me"
    http://programming.reddit.com/info/1mcu8/comments/c1md04

> Detailed examples would be awesome!
> 
> I would be willing to paste an in-depth explanation on my wall and  
> keep it forever.

-- Don


More information about the Haskell-Cafe mailing list