getSize retrieves the current internal size parameter of a QuickCheck generator. That size influences generated values, such as the magnitude of Int values or the maximum length of lists. section 9.4.1
Use getSize inside custom generators when generated values should scale with QuickCheck's settings. The size propagates through nested generators; resize changes it explicitly when external control is needed. section 9.4.1
Bound a rotation amount
A generator for alphabet-rotation tests reads the size, then chooses n between -size and size while generating the alphabet and character:
