[spec] Include spec name in Generator.toString to help troubleshooting "Couldn't satisfy such-that .."
Description
As of Spec 0.2.176, when test.check cannot generate a suitable value, it fails with a rather useless error message that does not point to the thing it was trying to generate:
It would be I believe much better if the generator created by (s/gen ::myspec) somehow included the ::myspec name so that it would print out something like
(Notice the `.toString` of the generated generator has been modified to print the spec name: ":my.ns/myspec"; though perhaps "gen for :my.ns/myspec" would be clearer.)
As of Spec 0.2.176, when test.check cannot generate a suitable value, it fails with a rather useless error message that does not point to the thing it was trying to generate:
It would be I believe much better if the generator created by (s/gen ::myspec) somehow included the ::myspec name so that it would print out something like
(Notice the `.toString` of the generated generator has been modified to print the spec name: ":my.ns/myspec"; though perhaps "gen for :my.ns/myspec" would be clearer.)