Each variable must occur at most once in a pattern.
Each variable can be defined at most once in let.
Added a repmin example.