Mastering Generics: Is This The Most Advanced Swift Code You've Seen?