Open sorawee opened 2 years ago
There are stuff that might be able to sort safely. See e.g. https://github.com/russellw/racket-format/blob/master/sort.rkt (though a lot of stuff in there are actually not safe to sort). Perhaps provide an option to sort?
Are you thinking of things like require and provide specs?
require
provide
Yep. It's tricky though, especially when comments are involved. Perhaps only do it when there's no comment?
Yes, that sounds right.
There are stuff that might be able to sort safely. See e.g. https://github.com/russellw/racket-format/blob/master/sort.rkt (though a lot of stuff in there are actually not safe to sort). Perhaps provide an option to sort?