Recent rackets seem to have changed define-generics

Recent rackets seem to have changed define-generics. Still, the code does not compile as it does not find the "permutations" functions at macro expansion time.