Utilities for working with generics.
The layout for generics as expected by chalk are as follows:
where parent follows the same scheme.