Is there a way for nim to tell me when:

  * I can remove an import (unused imports)
  * I can convert a proc to a func (for procs that don't have site effects)
  * I can convert a var to a let (for variables that are only assigned once)
  * I can convert a let or var to a const (for variables in outer scope that 
don't change ever)
  * I can use .high instead of .len - 1



Should this be part of nimpretty?

Reply via email to