Anagram generics