Scala, Functional Programming, Mathematics, Testing, Software Development.
for some Property Testing. First, we define how to generate random instances of our types. Note that, as Gen is a Monad, we can flatMap it and compose. This way, defining a complex Person object is done by using both the existing generators and by defining a new one, addressGenerator Now that we